Changeset 11553 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode
- Timestamp:
- 2017-02-12T16:32:18+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r11452 r11553 1261 1261 */ 1262 1262 protected static <T> Collection<T> asColl(T o) { 1263 if (o == null) 1264 return Collections.emptySet(); 1265 return Collections.singleton(o); 1263 return o == null ? Collections.emptySet() : Collections.singleton(o); 1266 1264 } 1267 1265 }
Note:
See TracChangeset
for help on using the changeset viewer.