JAL-3949 Complete new abstracted logging framework in jalview.log. Updated log calls...
[jalview.git] / src / jalview / jbgui / GPreferences.java
index 37ba654..f7d9860 100755 (executable)
@@ -2793,7 +2793,7 @@ public class GPreferences extends JPanel
     }
     else
     {
-      Cache.log.error(
+      Cache.error(
               "Preset '" + value + "' [key:" + key + "] not implemented");
     }
 
@@ -2813,7 +2813,7 @@ public class GPreferences extends JPanel
               .getSelectedItem();
     } catch (Exception ex)
     {
-      Cache.log.error(
+      Cache.error(
               "Problem casting Combo entry to IntKeyStringValueEntry.");
       e = null;
     }
@@ -2831,7 +2831,7 @@ public class GPreferences extends JPanel
         e = (IntKeyStringValueEntry) backupfilesPresetsCombo2.getItemAt(i);
       } catch (Exception ex)
       {
-        Cache.log.error(
+        Cache.error(
                 "Problem casting Combo entry to IntKeyStringValueEntry. Skipping item. ");
         continue;
       }
@@ -3279,7 +3279,7 @@ public class GPreferences extends JPanel
         i = ((Integer) s.getValue()).intValue();
       } catch (Exception e)
       {
-        Cache.log.error(
+        Cache.error(
                 "Exception casting the initial value of s.getValue()");
       }
     }
@@ -3315,7 +3315,7 @@ public class GPreferences extends JPanel
       i = (Integer) s.getValue();
     } catch (Exception e)
     {
-      Cache.log.error("Failed casting (Integer) JSpinner s.getValue()");
+      Cache.error("Failed casting (Integer) JSpinner s.getValue()");
     }
     return i;
   }