Improve coding style
[jabaws.git] / engine / compbio / engine / cluster / drmaa / AsyncJobRunner.java
index 46debcc..db50916 100644 (file)
@@ -33,11 +33,11 @@ import compbio.metadata.ResultNotAvailableException;
  * Single cluster job runner class\r
  * \r
  * @author pvtroshin\r
- * @date August 2009\r
+ * @version 1.0 August 2009\r
  * \r
- *       TODO after call to submitJob() no setters really work as the job\r
- *       template gets deleted, this needs to be taken into account in this\r
- *       class design!\r
+ *          TODO after call to submitJob() no setters really work as the job\r
+ *          template gets deleted, this needs to be taken into account in this\r
+ *          class design!\r
  */\r
 public class AsyncJobRunner implements AsyncExecutor {\r
 \r
@@ -47,8 +47,7 @@ public class AsyncJobRunner implements AsyncExecutor {
        public String submitJob(ConfiguredExecutable<?> executable)\r
                        throws JobSubmissionException {\r
                JobRunner jr = new JobRunner(executable);\r
-               jr.submitJob(); // ignore cluster job id as it could be retrieved from\r
-               // fs\r
+               jr.submitJob(); // ignore cluster job id as it could be retrieved from fs\r
                return executable.getTaskId();\r
        }\r
 \r
@@ -59,10 +58,9 @@ public class AsyncJobRunner implements AsyncExecutor {
                                clustSession);\r
        }\r
 \r
-       /**\r
-        * This will never return clust.engine.JobStatus.CANCELLED as for sun grid\r
-        * engine cancelled job is the same as failed. Cancelled jobs needs to be\r
-        * tracked manually!\r
+       /*\r
+        * This will never return clust.engine.JobStatus.CANCELLED as for sun grid engine \r
+        * cancelled job is the same as failed. Cancelled jobs needs to be tracked manually!\r
         */\r
        @Override\r
        public compbio.metadata.JobStatus getJobStatus(String jobId) {\r