Small internal code changes
[jabaws.git] / webservices / compbio / ws / server / GenericMetadataService.java
index 1c378c7..4defd89 100644 (file)
@@ -1,3 +1,20 @@
+/* Copyright (c) 2011 Peter Troshin\r
+ *  \r
+ *  JAva Bioinformatics Analysis Web Services (JABAWS) @version: 2.0     \r
+ * \r
+ *  This library is free software; you can redistribute it and/or modify it under the terms of the\r
+ *  Apache License version 2 as published by the Apache Software Foundation\r
+ * \r
+ *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without\r
+ *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache \r
+ *  License for more details.\r
+ * \r
+ *  A copy of the license is in apache_license.txt. It is also available here:\r
+ * @see: http://www.apache.org/licenses/LICENSE-2.0.txt\r
+ * \r
+ * Any republication or derived work distributed in source code form\r
+ * must include this copyright and license notice.\r
+ */\r
 package compbio.ws.server;\r
 \r
 import java.util.List;\r
@@ -36,11 +53,8 @@ public abstract class GenericMetadataService<T> {
                this.log = log;\r
                this.exec = exec;\r
                this.limitMan = compbio.engine.client.Util.getLimits(exec.getType());\r
-               this.aaconOptions = Util\r
-                               .getSupportedOptions((Class<? extends Executable<T>>) exec\r
-                                               .getType());\r
-               this.aaconPresets = Util\r
-                               .getPresets((Class<? extends Executable<T>>) exec.getType());\r
+               this.aaconOptions = Util.getSupportedOptions((Class<? extends Executable<T>>) exec.getType());\r
+               this.aaconPresets = Util.getPresets((Class<? extends Executable<T>>) exec.getType());\r
        }\r
 \r
        ConfiguredExecutable<T> init(List<FastaSequence> sequences)\r
@@ -96,11 +110,10 @@ public abstract class GenericMetadataService<T> {
         * \r
         * @param jobId\r
         * @param position\r
-        * @return\r
+        * @return ChunkHolder\r
         */\r
        public ChunkHolder pullExecStatistics(String jobId, long position) {\r
                // Execution stat is not supported\r
                return new ChunkHolder("", -1);\r
        }\r
-\r
 }\r