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:
5d897ab
)
JAL-3371 lastVal now String not Object
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 19 Jul 2019 12:48:02 +0000
(13:48 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 19 Jul 2019 12:48:02 +0000
(13:48 +0100)
src/jalview/gui/OptsAndParamsPage.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/OptsAndParamsPage.java
b/src/jalview/gui/OptsAndParamsPage.java
index
940ad14
..
0f4d0e7
100644
(file)
--- a/
src/jalview/gui/OptsAndParamsPage.java
+++ b/
src/jalview/gui/OptsAndParamsPage.java
@@
-288,7
+288,7
@@
public class OptsAndParamsPage
boolean integ = false;
- Object lastVal;
+ String lastVal;
ParameterI parameter;
@@
-479,9
+479,10
@@
public class OptsAndParamsPage
*
* @return
*/
- private Object getCurrentValue()
+ private String getCurrentValue()
{
- return choice ? choicebox.getSelectedItem() : valueField.getText();
+ return choice ? (String) choicebox.getSelectedItem()
+ : valueField.getText();
}
@Override