Improve coding style
[jabaws.git] / engine / compbio / engine / SubmissionManager.java
index 9d4f8d5..2880e8f 100644 (file)
@@ -41,16 +41,12 @@ public class SubmissionManager {
                // uninitializable\r
        }\r
 \r
-       public static void addTask(ConfiguredExecutable<?> executable,\r
-                       Future<ConfiguredExecutable<?>> future) {\r
-               Future<ConfiguredExecutable<?>> replacedTask = submittedTasks.put(\r
-                               executable.getTaskId(), future);\r
+       public static void addTask(ConfiguredExecutable<?> executable, Future<ConfiguredExecutable<?>> future) {\r
+               Future<ConfiguredExecutable<?>> replacedTask = submittedTasks.put(executable.getTaskId(), future);\r
                // just a percussion should never happened\r
                if (replacedTask != null) {\r
-                       log.fatal("Duplicated task id is detected by local engine for: "\r
-                                       + executable);\r
-                       throw new RuntimeException("Duplicated task ID is detected: "\r
-                                       + executable.getTaskId());\r
+                       log.fatal("Duplicated task id is detected by local engine for: " + executable);\r
+                       throw new RuntimeException("Duplicated task ID is detected: " + executable.getTaskId());\r
                }\r
        }\r
 \r