Changeset 11140 in josm
- Timestamp:
- 2016-10-17T22:18:31+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/AddCommand.java
r10467 r11140 37 37 */ 38 38 public AddCommand(OsmPrimitive osm) { 39 this.osm = osm;39 this.osm = Objects.requireNonNull(osm, "osm"); 40 40 } 41 41 … … 47 47 public AddCommand(OsmDataLayer layer, OsmPrimitive osm) { 48 48 super(layer); 49 this.osm = osm;49 this.osm = Objects.requireNonNull(osm, "osm"); 50 50 } 51 51
Note:
See TracChangeset
for help on using the changeset viewer.