Remove tab indentation
@@ -221,7 +221,8 @@ public class DevMojo extends StartDebugMojoSupport {
serverTask = initializeJava();
}
- messagesLogFile = new File(serverTask.getOutputDir() + "/" + serverTask.getServerName() + "/logs/messages.log");
+ messagesLogFile = new File(
+ serverTask.getOutputDir() + "/" + serverTask.getServerName() + "/logs/messages.log");
if (messagesLogFile.exists()) {
// Delete previous log file so it doesn't interfere with
@@ -247,7 +248,6 @@ public class DevMojo extends StartDebugMojoSupport {
});
-
// Start server
serverThread.start();
@@ -261,13 +261,11 @@ public class DevMojo extends StartDebugMojoSupport {
long timeout = verifyTimeout * 1000;
long endTime = System.currentTimeMillis() + timeout;
- String startMessage = serverTask.waitForStringInLog(START_APP_MESSAGE_REGEXP,
- timeout,
- messagesLogFile);
+ String startMessage = serverTask.waitForStringInLog(START_APP_MESSAGE_REGEXP, timeout, messagesLogFile);
if (startMessage == null) {
stopServer();
- throw new MojoExecutionException(MessageFormat
- .format(messages.getString("error.server.start.verify"), verifyTimeout));
+ throw new MojoExecutionException(
+ MessageFormat.format(messages.getString("error.server.start.verify"), verifyTimeout));
}
timeout = endTime - System.currentTimeMillis();
