JAL-1807 explicit imports (jalview.ws.*)
[jalview.git] / src / jalview / ws / dbsources / das / datamodel / DasSourceRegistry.java
index e2e7534..432f417 100644 (file)
@@ -70,20 +70,20 @@ public class DasSourceRegistry implements DasSourceRegistryI,
 
   public String getDasRegistryURL()
   {
-    String registry = jalview.bin.Cache.getDefault("DAS_REGISTRY_URL",
+    String registry = Cache.getDefault("DAS_REGISTRY_URL",
             DEFAULT_REGISTRY);
 
     if (registry.indexOf("/registry/das1/sources/") > -1)
     {
-      jalview.bin.Cache.setProperty(jalview.bin.Cache.DAS_REGISTRY_URL,
+      Cache.setProperty(Cache.DAS_REGISTRY_URL,
               DEFAULT_REGISTRY);
       registry = DEFAULT_REGISTRY;
     }
     if (registry.lastIndexOf("sources.xml") == registry.length() - 11)
     {
       // no trailing sources.xml document for registry in JDAS
-      jalview.bin.Cache.setProperty(
-              jalview.bin.Cache.DAS_REGISTRY_URL,
+      Cache.setProperty(
+              Cache.DAS_REGISTRY_URL,
               registry = registry.substring(0,
                       registry.lastIndexOf("sources.xml")));
     }
@@ -180,7 +180,7 @@ public class DasSourceRegistry implements DasSourceRegistryI,
     if (localSources == null)
     {
       // get local sources from properties and initialise the local source list
-      String local = jalview.bin.Cache.getProperty("DAS_LOCAL_SOURCE");
+      String local = Cache.getProperty("DAS_LOCAL_SOURCE");
 
       if (local != null)
       {
@@ -327,7 +327,7 @@ public class DasSourceRegistry implements DasSourceRegistryI,
       localSources.remove(source.getTitle());
       sourceNames.remove(source.getTitle());
       dasSources.remove(source);
-      jalview.bin.Cache.setProperty("DAS_LOCAL_SOURCE",
+      Cache.setProperty("DAS_LOCAL_SOURCE",
               getLocalSourceString());
 
       return true;