git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3949 Complete new abstracted logging framework in jalview.log. Updated log calls...
[jalview.git]
/
src
/
jalview
/
jbgui
/
GPreferences.java
diff --git
a/src/jalview/jbgui/GPreferences.java
b/src/jalview/jbgui/GPreferences.java
index
37ba654
..
f7d9860
100755
(executable)
--- a/
src/jalview/jbgui/GPreferences.java
+++ b/
src/jalview/jbgui/GPreferences.java
@@
-2793,7
+2793,7
@@
public class GPreferences extends JPanel
}
else
{
}
else
{
- Cache.log.error(
+ Cache.error(
"Preset '" + value + "' [key:" + key + "] not implemented");
}
"Preset '" + value + "' [key:" + key + "] not implemented");
}
@@
-2813,7
+2813,7
@@
public class GPreferences extends JPanel
.getSelectedItem();
} catch (Exception ex)
{
.getSelectedItem();
} catch (Exception ex)
{
- Cache.log.error(
+ Cache.error(
"Problem casting Combo entry to IntKeyStringValueEntry.");
e = null;
}
"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)
{
e = (IntKeyStringValueEntry) backupfilesPresetsCombo2.getItemAt(i);
} catch (Exception ex)
{
- Cache.log.error(
+ Cache.error(
"Problem casting Combo entry to IntKeyStringValueEntry. Skipping item. ");
continue;
}
"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)
{
i = ((Integer) s.getValue()).intValue();
} catch (Exception e)
{
- Cache.log.error(
+ Cache.error(
"Exception casting the initial value of s.getValue()");
}
}
"Exception casting the initial value of s.getValue()");
}
}
@@
-3315,7
+3315,7
@@
public class GPreferences extends JPanel
i = (Integer) s.getValue();
} catch (Exception e)
{
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;
}
}
return i;
}