Changeset 10467 in josm for trunk/src/org/openstreetmap/josm/command/Command.java
- Timestamp:
- 2016-06-24T00:30:42+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/Command.java
r10452 r10467 17 17 import org.openstreetmap.josm.data.coor.EastNorth; 18 18 import org.openstreetmap.josm.data.coor.LatLon; 19 import org.openstreetmap.josm.data.osm.DataSet; 19 20 import org.openstreetmap.josm.data.osm.Node; 20 21 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 210 211 protected OsmDataLayer getLayer() { 211 212 return layer; 213 } 214 215 /** 216 * Gets the data set this command affects. 217 * @return The data set. May be <code>null</code> if no layer was set and no edit layer was found. 218 * @since 10467 219 */ 220 public DataSet getAffectedDataSet() { 221 return layer == null ? null : layer.data; 212 222 } 213 223
Note:
See TracChangeset
for help on using the changeset viewer.