Merge previously split strings

Merge some string lines that were previously split because of the
90 chars wide formatting.
This commit is contained in:
Phillip Webb
2019-07-14 19:39:18 +01:00
parent c3816bfe7b
commit 01933f9b06
173 changed files with 351 additions and 370 deletions

View File

@@ -86,7 +86,7 @@ public class Repackager {
}
if (!source.exists() || !source.isFile()) {
throw new IllegalArgumentException(
"Source must refer to an existing file, " + "got " + source.getAbsolutePath());
"Source must refer to an existing file, got " + source.getAbsolutePath());
}
this.source = source.getAbsoluteFile();
this.layoutFactory = layoutFactory;

View File

@@ -87,7 +87,7 @@ class MainClassFinderTests {
try (JarFile jarFile = this.testJarFile.getJarFile()) {
assertThatIllegalStateException().isThrownBy(() -> MainClassFinder.findSingleMainClass(jarFile, ""))
.withMessageContaining(
"Unable to find a single main class " + "from the following candidates [a.B, a.b.c.E]");
"Unable to find a single main class from the following candidates [a.B, a.b.c.E]");
}
}
@@ -145,7 +145,7 @@ class MainClassFinderTests {
assertThatIllegalStateException()
.isThrownBy(() -> MainClassFinder.findSingleMainClass(this.testJarFile.getJarSource()))
.withMessageContaining(
"Unable to find a single main class " + "from the following candidates [a.B, a.b.c.E]");
"Unable to find a single main class from the following candidates [a.B, a.b.c.E]");
}
@Test

View File

@@ -168,7 +168,7 @@ class RepackagerTests {
File file = this.testJarFile.getFile();
Repackager repackager = new Repackager(file);
assertThatIllegalStateException().isThrownBy(() -> repackager.repackage(NO_LIBRARIES)).withMessageContaining(
"Unable to find a single main class " + "from the following candidates [a.b.C, a.b.D]");
"Unable to find a single main class from the following candidates [a.b.C, a.b.D]");
}
@Test