Merge previously split strings
Merge some string lines that were previously split because of the 90 chars wide formatting.
This commit is contained in:
@@ -199,7 +199,7 @@ public class DevToolsIntegrationTests {
|
||||
if (System.currentTimeMillis() > end) {
|
||||
throw new IllegalStateException(String.format(
|
||||
"server.port file '" + this.serverPortFile + "' was not written within " + timeToWait.toMillis()
|
||||
+ "ms. " + "Application output:%n%s%s",
|
||||
+ "ms. Application output:%n%s%s",
|
||||
FileCopyUtils.copyToString(new FileReader(this.launchedApplication.getStandardOut())),
|
||||
FileCopyUtils.copyToString(new FileReader(this.launchedApplication.getStandardError()))));
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ public class DevToolsWithLazyInitializationIntegrationTests {
|
||||
if (System.currentTimeMillis() > end) {
|
||||
throw new IllegalStateException(String.format(
|
||||
"server.port file '" + this.serverPortFile + "' was not written within " + timeToWait.toMillis()
|
||||
+ "ms. " + "Application output:%n%s%s",
|
||||
+ "ms. Application output:%n%s%s",
|
||||
FileCopyUtils.copyToString(new FileReader(this.launchedApplication.getStandardOut())),
|
||||
FileCopyUtils.copyToString(new FileReader(this.launchedApplication.getStandardError()))));
|
||||
}
|
||||
|
||||
@@ -100,9 +100,9 @@ abstract class RemoteApplicationLauncher extends AbstractApplicationLauncher {
|
||||
long end = System.currentTimeMillis() + 30000;
|
||||
while (serverPortFile.length() == 0) {
|
||||
if (System.currentTimeMillis() > end) {
|
||||
throw new IllegalStateException(String.format(
|
||||
"server.port file was not written within 30 seconds. " + "Application output:%n%s",
|
||||
FileCopyUtils.copyToString(new FileReader(standardOut))));
|
||||
throw new IllegalStateException(
|
||||
String.format("server.port file was not written within 30 seconds. Application output:%n%s",
|
||||
FileCopyUtils.copyToString(new FileReader(standardOut))));
|
||||
}
|
||||
Thread.sleep(100);
|
||||
}
|
||||
@@ -115,7 +115,7 @@ abstract class RemoteApplicationLauncher extends AbstractApplicationLauncher {
|
||||
long end = System.currentTimeMillis() + 30000;
|
||||
while (!standardOut.exists()) {
|
||||
if (System.currentTimeMillis() > end) {
|
||||
throw new IllegalStateException("Standard out file was not written " + "within 30 seconds");
|
||||
throw new IllegalStateException("Standard out file was not written within 30 seconds");
|
||||
}
|
||||
Thread.sleep(100);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user