diff --git a/spring-boot-project/spring-boot-properties-migrator/src/main/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReport.java b/spring-boot-project/spring-boot-properties-migrator/src/main/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReport.java index d31b2e4781..149bc2adaf 100644 --- a/spring-boot-project/spring-boot-properties-migrator/src/main/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReport.java +++ b/spring-boot-project/spring-boot-properties-migrator/src/main/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReport.java @@ -71,7 +71,7 @@ class PropertiesMigrationReport { "%nThe use of configuration keys that are no longer supported was found in the environment:%n%n")); append(report, content); report.append(String.format("%n")); - report.append("Please refer to the migration guide or reference guide for potential alternatives."); + report.append("Please refer to the release notes or reference guide for potential alternatives."); report.append(String.format("%n")); return report.toString(); } diff --git a/spring-boot-project/spring-boot-properties-migrator/src/test/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationListenerTests.java b/spring-boot-project/spring-boot-properties-migrator/src/test/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationListenerTests.java index 0d4cdb97bd..79e2e8204b 100644 --- a/spring-boot-project/spring-boot-properties-migrator/src/test/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationListenerTests.java +++ b/spring-boot-project/spring-boot-properties-migrator/src/test/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationListenerTests.java @@ -50,7 +50,7 @@ class PropertiesMigrationListenerTests { this.context = createSampleApplication().run("--logging.file=test.log"); assertThat(output).contains("commandLineArgs").contains("logging.file.name") .contains("Each configuration key has been temporarily mapped") - .doesNotContain("Please refer to the migration guide"); + .doesNotContain("Please refer to the release notes"); } private SpringApplication createSampleApplication() {