Changeset 15324 in josm for trunk/src/org
- Timestamp:
- 2019-08-27T20:34:29+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/SelectCommand.java
r13173 r15324 35 35 if (newSelection == null || newSelection.isEmpty()) { 36 36 this.newSelection = Collections.emptySet(); 37 } else if (newSelection.contains(null)) { 38 throw new IllegalArgumentException("null primitive in selection"); 37 39 } else { 38 40 this.newSelection = new HashSet<>(newSelection);
Note:
See TracChangeset
for help on using the changeset viewer.