Refactoring: rename duplicated Util classes
[jabaws.git] / engine / compbio / engine / ClusterJobId.java
index 9a1f1d1..d578c37 100644 (file)
@@ -20,6 +20,7 @@ package compbio.engine;
 \r
 import compbio.util.Util;\r
 import compbio.util.annotation.Immutable;\r
+import compbio.engine.client.EngineUtil;\r
 \r
 @Immutable\r
 public class ClusterJobId {\r
@@ -30,10 +31,8 @@ public class ClusterJobId {
                if (Util.isEmpty(jobId)) {\r
                        throw new NullPointerException("JobId must be provided!");\r
                }\r
-               if (compbio.engine.client.Util.isValidJobId(jobId)) {\r
-                       throw new IllegalArgumentException(\r
-                                       "JobId is expected but taskid seems to be provided! "\r
-                                                       + jobId);\r
+               if (EngineUtil.isValidJobId(jobId)) {\r
+                       throw new IllegalArgumentException("JobId is expected but taskid seems to be provided! " + jobId);\r
                }\r
                this.jobId = jobId;\r
        }\r