Merge previously split strings
Merge some string lines that were previously split because of the 90 chars wide formatting.
This commit is contained in:
@@ -45,8 +45,8 @@ class PropertiesMigrationReport {
|
||||
return null;
|
||||
}
|
||||
StringBuilder report = new StringBuilder();
|
||||
report.append(String.format(
|
||||
"%nThe use of configuration keys that have been " + "renamed was found in the environment:%n%n"));
|
||||
report.append(String
|
||||
.format("%nThe use of configuration keys that have been renamed was found in the environment:%n%n"));
|
||||
append(report, content);
|
||||
report.append(String.format("%n"));
|
||||
report.append("Each configuration key has been temporarily mapped to its "
|
||||
@@ -68,10 +68,10 @@ class PropertiesMigrationReport {
|
||||
}
|
||||
StringBuilder report = new StringBuilder();
|
||||
report.append(String.format(
|
||||
"%nThe use of configuration keys that are no longer " + "supported was found in the environment:%n%n"));
|
||||
"%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 migration guide or reference guide for potential alternatives.");
|
||||
report.append(String.format("%n"));
|
||||
return report.toString();
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ class PropertiesMigrationReporterTests {
|
||||
String report = createErrorReport(loadRepository("metadata/type-conversion-metadata.json"));
|
||||
assertThat(report).isNotNull();
|
||||
assertThat(report).containsSubsequence("Property source 'test'", "wrong.inconvertible", "Line: 1",
|
||||
"Reason: Replacement key " + "'test.inconvertible' uses an incompatible target type");
|
||||
"Reason: Replacement key 'test.inconvertible' uses an incompatible target type");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user