diff --git a/spring-boot-project/spring-boot-properties-migrator/src/main/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReporter.java b/spring-boot-project/spring-boot-properties-migrator/src/main/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReporter.java index 813a0ac3670..4c90120c422 100644 --- a/spring-boot-project/spring-boot-properties-migrator/src/main/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReporter.java +++ b/spring-boot-project/spring-boot-properties-migrator/src/main/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReporter.java @@ -174,7 +174,6 @@ class PropertiesMigrationReporter { private Map getPropertySourcesAsMap() { Map map = new LinkedHashMap<>(); - ConfigurationPropertySources.get(this.environment); for (ConfigurationPropertySource source : ConfigurationPropertySources .get(this.environment)) { map.put(determinePropertySourceName(source), source);