Changing of input type
authorpvtroshin <pvtroshin@e3abac25-378b-4346-85de-24260fe3988d>
Mon, 10 Oct 2011 17:13:34 +0000 (17:13 +0000)
committerpvtroshin <pvtroshin@e3abac25-378b-4346-85de-24260fe3988d>
Mon, 10 Oct 2011 17:13:34 +0000 (17:13 +0000)
git-svn-id: link to svn.lifesci.dundee.ac.uk/svn/barton/ptroshin/JABA2@4648 e3abac25-378b-4346-85de-24260fe3988d

webservices/compbio/ws/client/ServicesUtil.java

index 2646a09..08b8131 100644 (file)
@@ -18,10 +18,9 @@ import compbio.runner.msa.Tcoffee;
 \r
 public class ServicesUtil {\r
 \r
-       public static Services getServiceByRunner(\r
-                       Class<Executable<?>> runnerClassName) {\r
-               assert runnerClassName != null;\r
-               String sname = runnerClassName.getSimpleName().toLowerCase();\r
+       public static Services getServiceByRunner(Class<? extends Executable> class1) {\r
+               assert class1 != null;\r
+               String sname = class1.getSimpleName().toLowerCase();\r
                for (Services service : Services.values()) {\r
                        if (service.toString().toLowerCase().contains(sname)) {\r
                                return service;\r