Merge previously split strings
Merge some string lines that were previously split because of the 90 chars wide formatting.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user