Skip to content

Commit 786dae5

Browse files
committed
Use "release notes" in message as it is more generic
1 parent 23c5549 commit 786dae5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-project/spring-boot-properties-migrator/src/main/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationReport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ String getErrorReport() {
7171
"%nThe use of configuration keys that are no longer supported was found in the environment:%n%n"));
7272
append(report, content);
7373
report.append(String.format("%n"));
74-
report.append("Please refer to the migration guide or reference guide for potential alternatives.");
74+
report.append("Please refer to the release notes or reference guide for potential alternatives.");
7575
report.append(String.format("%n"));
7676
return report.toString();
7777
}

spring-boot-project/spring-boot-properties-migrator/src/test/java/org/springframework/boot/context/properties/migrator/PropertiesMigrationListenerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void sampleReport(CapturedOutput output) {
5050
this.context = createSampleApplication().run("--logging.file=test.log");
5151
assertThat(output).contains("commandLineArgs").contains("logging.file.name")
5252
.contains("Each configuration key has been temporarily mapped")
53-
.doesNotContain("Please refer to the migration guide");
53+
.doesNotContain("Please refer to the release notes");
5454
}
5555

5656
private SpringApplication createSampleApplication() {

0 commit comments

Comments
 (0)