git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be38fa8
)
JAL-3141 correct cast of spinner value
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 23 Aug 2019 14:38:29 +0000
(15:38 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 23 Aug 2019 14:38:29 +0000
(15:38 +0100)
src/jalview/jbgui/GPreferences.java
patch
|
blob
|
history
diff --git
a/src/jalview/jbgui/GPreferences.java
b/src/jalview/jbgui/GPreferences.java
index
9f98ffa
..
0bc5d28
100755
(executable)
--- a/
src/jalview/jbgui/GPreferences.java
+++ b/
src/jalview/jbgui/GPreferences.java
@@
-2487,7
+2487,7
@@
public class GPreferences extends JPanel
{
try
{
- i = Integer.parseInt((String) s.getValue());
+ i = ((Integer) s.getValue()).intValue();
} catch (Exception e)
{
Cache.log.error(