X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws2%2FJabaWsServerQuery.java;h=5831df860f1ae584ecbfacbc1291e5c6a51ec8a0;hb=07711595213cb89a9c42e2659c7b208b4a8b8d39;hp=1fdb3ac07958edb94f8ad8c3257156dbc6bf18cc;hpb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;p=jalview.git diff --git a/src/jalview/ws/jws2/JabaWsServerQuery.java b/src/jalview/ws/jws2/JabaWsServerQuery.java index 1fdb3ac..5831df8 100644 --- a/src/jalview/ws/jws2/JabaWsServerQuery.java +++ b/src/jalview/ws/jws2/JabaWsServerQuery.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) - * Copyright (C) 2015 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -23,7 +23,7 @@ */ package jalview.ws.jws2; -import jalview.bin.Cache; +import jalview.bin.Console; import jalview.ws.jws2.jabaws2.Jws2Instance; import jalview.ws.jws2.jabaws2.Jws2InstanceFactory; @@ -126,8 +126,8 @@ public class JabaWsServerQuery implements Runnable srv_set = registry.getSupportedServices(); // dan test - System.out.println("registry.getSupportedServices: " - + srv_set.toString()); + System.out.println( + "registry.getSupportedServices: " + srv_set.toString()); svccategories = registry.getServiceCategories(); @@ -212,16 +212,16 @@ public class JabaWsServerQuery implements Runnable else { jws2Discoverer.addInvalidServiceUrl(jwsserver); - Cache.log.warn("Ignoring invalid Jws2 service url " + jwsserver); + Console.warn("Ignoring invalid Jws2 service url " + jwsserver); } } catch (Exception e) { e.printStackTrace(); - Cache.log.warn("Exception when discovering Jws2 services.", e); + Console.warn("Exception when discovering Jws2 services.", e); jws2Discoverer.addInvalidServiceUrl(jwsserver); } catch (Error e) { - Cache.log.error("Exception when discovering Jws2 services.", e); + Console.error("Exception when discovering Jws2 services.", e); jws2Discoverer.addInvalidServiceUrl(jwsserver); } running = false;