} catch (Exception ex)
{
Console.warn("Problem whilst trying to make a URL from '"
- + ((url != null) ? url : "<null>") + "'");
+ + ((url != null) ? url : "<null>") + "'");
Console.warn(
"This was probably due to a malformed comma separated list"
+ " in the DISCOVERY_URLS entry of $(HOME)/.jalview_properties)");
Console.debug("(Re)-Initialising the discovery URL list.");
try
{
- reallyDiscoverServices = Cache
- .getDefault("DISCOVERY_START", false);
+ reallyDiscoverServices = Cache.getDefault("DISCOVERY_START", false);
if (reallyDiscoverServices)
{
ServiceURLList = getDiscoveryURLS();
{
if (!cat.contains(sh[i]))
{
- Console.debug("A " + sh[i].getAbstractName()
- + " service called " + sh[i].getName() + " exists at "
- + sh[i].getEndpointURL() + "\n");
+ Console.debug("A " + sh[i].getAbstractName() + " service called "
+ + sh[i].getName() + " exists at " + sh[i].getEndpointURL()
+ + "\n");
if (!sscat.containsKey(sh[i].getAbstractName()))
{
sscat.put(sh[i].getAbstractName(), cat = new Vector<>());
} catch (Exception e)
{
Console.debug("Ignoring bad discovery service URL "
- + sh[i].getEndpointURL(), e);
+ + sh[i].getEndpointURL(), e);
}
}
}
}
while (s_url < ServiceURLList.size())
{
- if ((sh = getServices(
- ServiceURLList.get(s_url))) != null)
+ if ((sh = getServices(ServiceURLList.get(s_url))) != null)
{
buildServiceLists(sh, cat, sscat);
}
else
{
- Console.warn("No services at "
- + (ServiceURLList.get(s_url))
+ Console.warn("No services at " + (ServiceURLList.get(s_url))
+ " - check DISCOVERY_URLS property in .jalview_properties");
}
s_url++;
serviceClientBindings.put("SecStrPred", new JPredClient());
serviceClientBindings.put("SeqSearch", new SeqSearchWSClient());
}
- WS1Client instance = serviceClientBindings
- .get(sh.getAbstractName());
+ WS1Client instance = serviceClientBindings.get(sh.getAbstractName());
if (instance == null)
{
System.err.println(