Changeset 2879 in josm for trunk


Ignore:
Timestamp:
2010-01-22T23:13:29+01:00 (10 years ago)
Author:
jttt
Message:

Remove bogus warning in data consistency test

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  
    6868    private void searchNodes() {
    6969        for (Node n:dataSet.getNodes()) {
    70             if (!n.isIncomplete()) {
     70            if (!n.isIncomplete() && !n.isDeleted()) {
    7171                LatLon c = n.getCoor();
    7272                BBox box = new BBox(new LatLon(c.lat() - 0.0001, c.lon() - 0.0001), new LatLon(c.lat() + 0.0001, c.lon() + 0.0001));
     
    8080    private void searchWays() {
    8181        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)) {
    8383                writer.println(String.format("%s not found using Dataset.searchWays()", w));
    8484            }
  • trunk/src/org/openstreetmap/josm/data/osm/event/DatasetEventManager.java

    r2741 r2879  
    2222 * new layer is selected)
    2323 *
    24  * Events in EDT are supported, see {@link #addDatasetListener(DataSetListener, boolean)}
     24 * Events in EDT are supported, see {@link #addDatasetListener(DataSetListener, FireMode}
    2525 *
    2626 */
Note: See TracChangeset for help on using the changeset viewer.