From 5096d8e1ac6c0573e12aa5c0207a3b8eada0bbf3 Mon Sep 17 00:00:00 2001 From: pvtroshin Date: Mon, 10 Oct 2011 17:13:34 +0000 Subject: [PATCH] Changing of input type 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 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; -- 1.7.10.2