Changeset 5332 in josm for trunk/src


Ignore:
Timestamp:
2012-07-14T01:12:11+02:00 (12 years ago)
Author:
Don-vip
Message:

see #7505, see #7847 - Handle deleted nodes without coordinates in dataset consistency test due to recent API change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/DatasetConsistencyTest.java

    r5170 r5332  
    7070    public void checkCompleteNodesWithoutCoordinates() {
    7171        for (Node node:dataSet.getNodes()) {
    72             if (!node.isIncomplete() && (node.getCoor() == null || node.getEastNorth() == null)) {
     72            if (!node.isIncomplete() && !node.isDeleted() && (node.getCoor() == null || node.getEastNorth() == null)) {
    7373                printError("COMPLETE WITHOUT COORDINATES", "%s is not incomplete but has null coordinates", node);
    7474            }
Note: See TracChangeset for help on using the changeset viewer.