JAL-3949 Complete new abstracted logging framework in jalview.log. Updated log calls...
[jalview.git] / src / jalview / analysis / GeneticCodes.java
index 8d69b0b..59b698d 100644 (file)
@@ -162,7 +162,7 @@ public final class GeneticCodes
       }
     } catch (IOException | NullPointerException e)
     {
-      Cache.log.error(
+      Cache.error(
               "Error reading genetic codes data file " + fileName + ": "
               + e.getMessage());
     }
@@ -217,7 +217,7 @@ public final class GeneticCodes
       }
     } catch (IOException e)
     {
-      Cache.log.error(
+      Cache.error(
               "Error reading nucleotide ambiguity codes data file: "
                       + e.getMessage());
     }
@@ -294,7 +294,7 @@ public final class GeneticCodes
                 line.lastIndexOf(QUOTE));
         if (aminos.length() != NUCS_COUNT_CUBED) // 4 * 4 * 4 combinations
         {
-          Cache.log.error("wrong data length in code table: " + line);
+          Cache.error("wrong data length in code table: " + line);
         }
         else
         {