From: pvtroshin Date: Mon, 10 Oct 2011 17:13:34 +0000 (+0000) Subject: Changing of input type X-Git-Url: http://source.jalview.org/gitweb/?p=jabaws.git;a=commitdiff_plain;h=5096d8e1ac6c0573e12aa5c0207a3b8eada0bbf3 Changing of input type git-svn-id: link to svn.lifesci.dundee.ac.uk/svn/barton/ptroshin/JABA2@4648 e3abac25-378b-4346-85de-24260fe3988d --- diff --git a/webservices/compbio/ws/client/ServicesUtil.java b/webservices/compbio/ws/client/ServicesUtil.java index 2646a09..08b8131 100644 --- a/webservices/compbio/ws/client/ServicesUtil.java +++ b/webservices/compbio/ws/client/ServicesUtil.java @@ -18,10 +18,9 @@ import compbio.runner.msa.Tcoffee; public class ServicesUtil { - public static Services getServiceByRunner( - Class> runnerClassName) { - assert runnerClassName != null; - String sname = runnerClassName.getSimpleName().toLowerCase(); + public static Services getServiceByRunner(Class class1) { + assert class1 != null; + String sname = class1.getSimpleName().toLowerCase(); for (Services service : Services.values()) { if (service.toString().toLowerCase().contains(sname)) { return service;