Merge branch 'develop' into update/JAL-3949_abstracted_logging_for_jalviewjs_and_sanity
[jalview.git] / src / jalview / util / MappingUtils.java
index 86b7a6d..76967de 100644 (file)
@@ -81,7 +81,7 @@ public final class MappingUtils
       action = action.getUndoAction();
     }
     // TODO write this
-    Cache.log.error("MappingUtils.mapCutOrPaste not yet implemented");
+    Cache.error("MappingUtils.mapCutOrPaste not yet implemented");
   }
 
   /**
@@ -842,7 +842,7 @@ public final class MappingUtils
     {
       if (range.length % 2 != 0)
       {
-        Cache.log.error(
+        Cache.error(
                 "Error unbalance start/end ranges: " + ranges.toString());
         return 0;
       }
@@ -998,7 +998,7 @@ public final class MappingUtils
         /*
          * not coded for [start1, end1, start2, end2, ...]
          */
-        Cache.log.error(
+        Cache.error(
                 "MappingUtils.removeEndPositions doesn't handle multiple  ranges");
         return;
       }
@@ -1009,7 +1009,7 @@ public final class MappingUtils
         /*
          * not coded for a reverse strand range (end < start)
          */
-        Cache.log.error(
+        Cache.error(
                 "MappingUtils.removeEndPositions doesn't handle reverse strand");
         return;
       }