Changeset 15565 in josm for trunk/src/org/openstreetmap/josm/gui/layer/AbstractOsmDataLayer.java
- Timestamp:
- 2019-12-08T14:35:57+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractOsmDataLayer.java
r13951 r15565 34 34 return getDataSet().isLocked(); 35 35 } 36 37 /** 38 * Clears the data backing this layer, unless if locked. 39 * @since 15565 40 */ 41 public void clear() { 42 OsmData<?, ?, ?, ?> data = getDataSet(); 43 if (data != null && !data.isLocked()) { 44 data.clear(); 45 } 46 } 36 47 }
Note:
See TracChangeset
for help on using the changeset viewer.