From 786dae5d9a6029ef588720a3404ae52ca0047b3c Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 13 May 2020 15:44:16 +0200 Subject: [PATCH] Use "release notes" in message as it is more generic --- .../context/properties/migrator/PropertiesMigrationReport.java | 2 +- .../properties/migrator/PropertiesMigrationListenerTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() {