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 feature/JAL-3551Pymol
[jalview.git]
/
src
/
jalview
/
datamodel
/
features
/
FeatureAttributes.java
diff --git
a/src/jalview/datamodel/features/FeatureAttributes.java
b/src/jalview/datamodel/features/FeatureAttributes.java
index
c15650d
..
bcf404b
100644
(file)
--- a/
src/jalview/datamodel/features/FeatureAttributes.java
+++ b/
src/jalview/datamodel/features/FeatureAttributes.java
@@
-130,8
+130,8
@@
public class FeatureAttributes
try
{
float f = Float.valueOf(value);
try
{
float f = Float.valueOf(value);
- min = hasValue ? Float.min(min, f) : f;
- max = hasValue ? Float.max(max, f) : f;
+ min = hasValue ? Math.min(min, f) : f;
+ max = hasValue ? Math.max(max, f) : f;
hasValue = true;
type = (type == null || type == Datatype.Number)
? Datatype.Number
hasValue = true;
type = (type == null || type == Datatype.Number)
? Datatype.Number