Refactoring (renaming) 2 classes: AsyncJobRunner.java -> AsyncClusterRunner.java...
[jabaws.git] / webservices / compbio / ws / server / SequenceAnnotationService.java
index 641c745..afe0bf2 100644 (file)
@@ -62,8 +62,7 @@ public abstract class SequenceAnnotationService<T> extends GenericMetadataServic
 \r
        @SuppressWarnings("unchecked")\r
        public String analize(List<FastaSequence> sequences)\r
-                       throws UnsupportedRuntimeException, LimitExceededException,\r
-                       JobSubmissionException {\r
+                       throws UnsupportedRuntimeException, LimitExceededException, JobSubmissionException {\r
                WSUtil.validateFastaInput(sequences);\r
                ConfiguredExecutable<T> confIUPred = init(sequences);\r
                return WSUtil.analize(sequences, confIUPred, log, "analize", getLimit(""));\r
@@ -86,8 +85,7 @@ public abstract class SequenceAnnotationService<T> extends GenericMetadataServic
        }\r
 \r
        public String presetAnalize(List<FastaSequence> sequences, Preset<T> preset)\r
-                       throws UnsupportedRuntimeException, LimitExceededException,\r
-                       JobSubmissionException, WrongParameterException {\r
+                       throws UnsupportedRuntimeException, LimitExceededException, JobSubmissionException, WrongParameterException {\r
                WSUtil.validateAAConInput(sequences);\r
                if (preset == null) {\r
                        throw new WrongParameterException("Preset must be provided!");\r
@@ -97,7 +95,6 @@ public abstract class SequenceAnnotationService<T> extends GenericMetadataServic
                confAAcon.addParameters(preset.getOptions());\r
                @SuppressWarnings("unchecked")\r
                Limit<T> limit = getLimit(preset.getName());\r
-               return WSUtil\r
-                               .analize(sequences, confAAcon, log, "presetAnalize", limit);\r
+               return WSUtil.analize(sequences, confAAcon, log, "presetAnalize", limit);\r
        }\r
 }\r