From d95566a60c5dbc13f653c1e52bfa06954f1fbf4d Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 2 Oct 2019 17:29:26 +0100 Subject: [PATCH] JAL-3070 make AlignCalcUI service code work only with instances of ServiceWithParameters --- src/jalview/ws/jws2/Jws2Discoverer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jalview/ws/jws2/Jws2Discoverer.java b/src/jalview/ws/jws2/Jws2Discoverer.java index 7e1bd81..d270c85 100644 --- a/src/jalview/ws/jws2/Jws2Discoverer.java +++ b/src/jalview/ws/jws2/Jws2Discoverer.java @@ -960,7 +960,7 @@ public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI if (ourServices != null) { - for (ServiceWithParameters svc : services) + for (ServiceWithParameters svc : ourServices) { // TODO getNameURI Should return a versioned URI for the service, but // doesn't as of 2.11 @@ -1016,8 +1016,8 @@ public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI } } - Jws2Instance response = null; - for (Jws2Instance svc : services) + ServiceWithParameters response = null; + for (ServiceWithParameters svc : getServices()) { if (svc.getName().equals(serviceName)) { -- 1.7.10.2