Changeset 9929 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint
- Timestamp:
- 2016-03-05T15:29:39+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
r9859 r9929 1137 1137 }); 1138 1138 final Collection<Float> nonNullList = Utils.filter(floats, Predicates.not(Predicates.isNull())); 1139 return nonNullList.isEmpty() ? Float.NaN : computeMax ? Collections.max(nonNullList) : Collections.min(nonNullList);1139 return nonNullList.isEmpty() ? (Float) Float.NaN : computeMax ? Collections.max(nonNullList) : Collections.min(nonNullList); 1140 1140 } 1141 1141
Note:
See TracChangeset
for help on using the changeset viewer.