Changeset 16220 in josm for trunk/src/org
- Timestamp:
- 2020-03-30T07:18:28+02:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/validation/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
r15519 r16220 237 237 mindist = Config.getPref().getDouble(PREFIX + ".node_way_distance", 10.0); 238 238 minmiddledist = Config.getPref().getDouble(PREFIX + ".way_way_distance", 0.0); 239 ds = OsmDataManager.getInstance().get EditDataSet();239 ds = OsmDataManager.getInstance().getActiveDataSet(); 240 240 dsArea = ds == null ? null : ds.getDataSourceArea(); 241 241 } -
trunk/src/org/openstreetmap/josm/data/validation/tests/UntaggedWay.java
r16119 r16220 142 142 public void startTest(ProgressMonitor monitor) { 143 143 super.startTest(monitor); 144 DataSet ds = OsmDataManager.getInstance().get EditDataSet();144 DataSet ds = OsmDataManager.getInstance().getActiveDataSet(); 145 145 if (ds == null) 146 146 return; … … 182 182 @Override 183 183 public boolean isPrimitiveUsable(OsmPrimitive p) { 184 return p .isUsable();184 return p instanceof Way; 185 185 } 186 186 }
Note:
See TracChangeset
for help on using the changeset viewer.