Changeset 10691 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2016-07-31T17:58:31+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r10680 r10691 896 896 positionString = Utils.getPositionListString(position); 897 897 // if not all objects from the selection are member of this relation 898 if (selection.stream().anyMatch(Predicates. not(Predicates.inCollection(members)))) {898 if (selection.stream().anyMatch(Predicates.inCollection(members).negate())) { 899 899 positionString += ",\u2717"; 900 900 } -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
r10689 r10691 1135 1135 public Float aggregateList(List<?> lst) { 1136 1136 final List<Float> floats = Utils.transform(lst, (Function<Object, Float>) x -> Cascade.convertTo(x, float.class)); 1137 final Collection<Float> nonNullList = SubclassFilteredCollection.filter(floats, Predicates. not(Predicates.isNull()));1137 final Collection<Float> nonNullList = SubclassFilteredCollection.filter(floats, Predicates.<Float>isNull().negate()); 1138 1138 return nonNullList.isEmpty() ? (Float) Float.NaN : computeMax ? Collections.max(nonNullList) : Collections.min(nonNullList); 1139 1139 }
Note:
See TracChangeset
for help on using the changeset viewer.