Ignore:
Timestamp:
2016-03-05T15:29:39+01:00 (8 years ago)
Author:
Don-vip
Message:

findbugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java

    r9859 r9929  
    11371137            });
    11381138            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);
    11401140        }
    11411141
Note: See TracChangeset for help on using the changeset viewer.