Skip to content

Commit 78556d5

Browse files
committed
fix: Fix after rebase main
1 parent a9441ed commit 78556d5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

components/sbm-recipes-boot-upgrade/src/main/java/org/springframework/sbm/boot/upgrade_27_30/report/helper/AutoConfigurationRegistrationHelper.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import org.apache.commons.lang3.tuple.ImmutablePair;
1919
import org.apache.commons.lang3.tuple.Pair;
2020
import org.springframework.sbm.boot.common.conditions.IsSpringBootProject;
21-
import org.springframework.sbm.boot.upgrade_27_30.report.SpringBootUpgradeReportSection;
21+
import org.springframework.sbm.boot.upgrade_27_30.report.SpringBootUpgradeReportSectionHelper;
2222
import org.springframework.sbm.common.filter.PathPatternMatchingProjectResourceFinder;
2323
import org.springframework.sbm.engine.context.ProjectContext;
2424
import org.springframework.sbm.project.resource.ProjectResource;
@@ -33,8 +33,7 @@
3333
/**
3434
* @author Fabian Krüger
3535
*/
36-
}
37-
public class AutoConfigurationRegistrationHelper extends SpringBootUpgradeReportSection.AbstractHelper<List<Pair<Properties, ProjectResource>>> {
36+
public class AutoConfigurationRegistrationHelper extends SpringBootUpgradeReportSectionHelper<List<Pair<Properties, ProjectResource>>> {
3837

3938
public static final String VERSION_PATTERN = "(2\\.7\\..*)|(3\\.0\\..*)";
4039

@@ -57,7 +56,7 @@ public boolean evaluate(ProjectContext context) {
5756
return false;
5857
}
5958

60-
this.matchingSpringFactoriesFiles = props.get();
59+
this.matchingSpringFactoriesFiles = Map.of("matchingSpringFactoriesFiles", List.of(props.get()));
6160
return true;
6261
}
6362

0 commit comments

Comments
 (0)