JAL-3949 Complete new abstracted logging framework in jalview.log. Updated log calls...
[jalview.git] / src / jalview / io / vamsas / Dbref.java
index bdef00f..0c8ff09 100644 (file)
@@ -20,6 +20,7 @@
  */
 package jalview.io.vamsas;
 
+import jalview.bin.Cache;
 import jalview.datamodel.DBRefEntry;
 import jalview.datamodel.SequenceI;
 import jalview.io.VamsasAppDatastore;
@@ -92,7 +93,7 @@ public class Dbref extends Rangetype
     }
     else
     {
-      jalview.bin.Cache.log.debug(
+      Cache.debug(
               "Ignoring mapless DbRef.Map " + jvobj.getSrcAccString());
     }
 
@@ -158,8 +159,7 @@ public class Dbref extends Rangetype
       // TODO: Jalview ignores all the other maps
       if (vobj.getMapCount() > 1)
       {
-        jalview.bin.Cache.log
-                .debug("Ignoring additional mappings on DbRef: "
+        Cache.debug("Ignoring additional mappings on DbRef: "
                         + jvobj.getSource() + ":" + jvobj.getAccessionId());
       }
       jalview.datamodel.Mapping mp = new jalview.datamodel.Mapping(
@@ -175,8 +175,7 @@ public class Dbref extends Rangetype
   {
     DbRef vobj = (DbRef) this.vobj;
     DBRefEntry jvobj = (DBRefEntry) this.jvobj;
-    jalview.bin.Cache.log
-            .debug("Conflict in dbentry update for " + vobj.getAccessionId()
+    Cache.debug("Conflict in dbentry update for " + vobj.getAccessionId()
                     + vobj.getSource() + " " + vobj.getVorbaId());
     // TODO Auto-generated method stub
 
@@ -195,8 +194,7 @@ public class Dbref extends Rangetype
       // TODO: Jalview ignores all the other maps
       if (vobj.getMapCount() > 1)
       {
-        jalview.bin.Cache.log
-                .debug("Ignoring additional mappings on DbRef: "
+        Cache.debug("Ignoring additional mappings on DbRef: "
                         + jvobj.getSource() + ":" + jvobj.getAccessionId());
       }
       jalview.datamodel.Mapping mp = new jalview.datamodel.Mapping(
@@ -230,7 +228,7 @@ public class Dbref extends Rangetype
       }
       else
       {
-        jalview.bin.Cache.log.debug(
+        Cache.debug(
                 "Ignoring mapless DbRef.Map " + jvobj.getSrcAccString());
       }
     }