Changeset 5333 in josm


Ignore:
Timestamp:
2012-07-14T02:16:39+02:00 (12 years ago)
Author:
Don-vip
Message:

see #7505, see #7847 - Nodes without coordinates in dataset consistency test: use of isVisible() rather than !isDeleted() to raise the issue if null coordinates are found with a node not yet deleted on server

File:
1 edited

Legend:

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

    r5332 r5333  
    7070    public void checkCompleteNodesWithoutCoordinates() {
    7171        for (Node node:dataSet.getNodes()) {
    72             if (!node.isIncomplete() && !node.isDeleted() && (node.getCoor() == null || node.getEastNorth() == null)) {
     72            if (!node.isIncomplete() && node.isVisible() && (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.