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
Merge branch 'develop' into trialMerge
[jalview.git]
/
src
/
jalview
/
appletgui
/
AnnotationColourChooser.java
diff --git
a/src/jalview/appletgui/AnnotationColourChooser.java
b/src/jalview/appletgui/AnnotationColourChooser.java
index
533226e
..
9456986
100644
(file)
--- a/
src/jalview/appletgui/AnnotationColourChooser.java
+++ b/
src/jalview/appletgui/AnnotationColourChooser.java
@@
-350,7
+350,7
@@
public class AnnotationColourChooser extends Panel implements
{
try
{
{
try
{
- float f = new Float(thresholdValue.getText()).floatValue();
+ float f = Float.valueOf(thresholdValue.getText()).floatValue();
slider.setValue((int) (f * 1000));
adjustmentValueChanged(null);
} catch (NumberFormatException ex)
slider.setValue((int) (f * 1000));
adjustmentValueChanged(null);
} catch (NumberFormatException ex)