- Timestamp:
- 2010-05-15T20:50:55+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r3153 r3254 371 371 if (n.getDataSet() != dataSet) 372 372 throw new DataIntegrityProblemException("Nodes in way must be in the same dataset"); 373 } 374 if (Main.pref.getBoolean("debug.checkDeleteReferenced", true)) { 373 if (n.isDeleted()) 374 throw new DataIntegrityProblemException("Deleted node referenced: " + toString()); 375 } 376 if (Main.pref.getBoolean("debug.checkNullCoor", true)) { 375 377 for (Node n: nodes) { 376 if ( n.isDeleted())377 throw new DataIntegrityProblemException(" Deleted node referenced: " + toString());378 if (!n.isIncomplete() && (n.getCoor() == null || n.getEastNorth() == null)) 379 throw new DataIntegrityProblemException("Complete node with null coordinates: " + toString() + n.get3892DebugInfo()); 378 380 } 379 381 }
Note:
See TracChangeset
for help on using the changeset viewer.