Changeset 2879 in josm
- Timestamp:
- 2010-01-22T23:13:29+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DatasetConsistencyTest.java
r2670 r2879 68 68 private void searchNodes() { 69 69 for (Node n:dataSet.getNodes()) { 70 if (!n.isIncomplete() ) {70 if (!n.isIncomplete() && !n.isDeleted()) { 71 71 LatLon c = n.getCoor(); 72 72 BBox box = new BBox(new LatLon(c.lat() - 0.0001, c.lon() - 0.0001), new LatLon(c.lat() + 0.0001, c.lon() + 0.0001)); … … 80 80 private void searchWays() { 81 81 for (Way w:dataSet.getWays()) { 82 if (!w.isIncomplete() && ! dataSet.searchWays(w.getBBox()).contains(w)) {82 if (!w.isIncomplete() && !w.isDeleted() && !dataSet.searchWays(w.getBBox()).contains(w)) { 83 83 writer.println(String.format("%s not found using Dataset.searchWays()", w)); 84 84 } -
trunk/src/org/openstreetmap/josm/data/osm/event/DatasetEventManager.java
r2741 r2879 22 22 * new layer is selected) 23 23 * 24 * Events in EDT are supported, see {@link #addDatasetListener(DataSetListener, boolean)}24 * Events in EDT are supported, see {@link #addDatasetListener(DataSetListener, FireMode} 25 25 * 26 26 */
Note:
See TracChangeset
for help on using the changeset viewer.