Remove still unsupported methods of RegistryWS
authorSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Mon, 30 Sep 2013 13:31:28 +0000 (14:31 +0100)
committerSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Mon, 30 Sep 2013 13:31:28 +0000 (14:31 +0100)
webservices/compbio/ws/client/Jws2Client.java

index 4a0b459..cf0cf23 100644 (file)
@@ -322,10 +322,10 @@ public class Jws2Client {
        private static void listAllServices(String hostname) throws WebServiceException, IOException {\r
                RegistryWS registry = connectToRegistry(hostname);\r
                Set<Services> func_services = Collections.emptySet();\r
-               Set<Services> nonfunc_services = Collections.emptySet();\r
+               //Set<Services> nonfunc_services = Collections.emptySet();\r
                if (registry != null) {\r
                        func_services = registry.getSupportedServices();\r
-                       nonfunc_services = registry.getNonoperatedServices();\r
+                       //nonfunc_services = registry.getNonoperatedServices();\r
                        FileUtil.closeSilently(((Closeable) registry));\r
                } else {\r
                        System.out.println("Failed to connect to the registry! ");\r
@@ -336,11 +336,13 @@ public class Jws2Client {
                        String mess = "\n\rThe list:\n";\r
                        System.out.println(mess + Services.toString(func_services));\r
                }\r
+               /*\r
                if (!nonfunc_services.isEmpty()) {\r
                        System.out.println("There are " + nonfunc_services.size() + " non-available services at " + hostname + ":");\r
                        String mess = "The list (internal tests failed): ";\r
                        System.out.println(mess + Services.toString(nonfunc_services));\r
                }\r
+               */\r
        }\r
 \r
        /**\r