Changeset 5583 in osm for applications/editors/josm/plugins/validator/src
- Timestamp:
- 2007-11-18T19:11:52+01:00 (17 years ago)
- Location:
- applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/Test.java
r4844 r5583 123 123 for (OsmPrimitive p : selection) 124 124 { 125 if( !p.deleted ) 125 if( !p.deleted || !p.incomplete ) 126 126 p.visit(this); 127 127 } -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/TestError.java
r4844 r5583 201 201 for( OsmPrimitive p : primitives) 202 202 { 203 if( !p.deleted ) 203 if( !p.deleted || !p.incomplete ) 204 204 p.visit(v); 205 205 } -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/Coastlines.java
r4843 r5583 52 52 public void visit(Way w) 53 53 { 54 if( w.deleted ) 54 if( w.deleted || w.incomplete ) 55 55 return; 56 56 -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/CrossingWays.java
r4843 r5583 51 51 public void visit(Way w) 52 52 { 53 if( w.deleted ) 53 if( w.deleted || w.incomplete ) 54 54 return; 55 55 -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicateNode.java
r4843 r5583 119 119 // merge and replace them with the 'target' node 120 120 for (Way w : Main.ds.ways) { 121 if (w.deleted) continue; 121 if (w.deleted || w.incomplete) continue; 122 122 // FIXME: use some fancy method from java.util.Collections and 123 123 // List.replace -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicatedWayNodes.java
r4843 r5583 19 19 20 20 @Override public void visit(Way w) { 21 if (w.deleted) return; 21 if (w.deleted || w.incomplete) return; 22 22 23 23 Node lastN = null; -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/SimilarNamedWays.java
r4026 r5583 52 52 public void visit(Way w) 53 53 { 54 if( w.deleted ) 54 if( w.deleted || w.incomplete ) 55 55 return; 56 56 -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UntaggedNode.java
r4843 r5583 50 50 if (partialSelection) { 51 51 for (OsmPrimitive p : selection) { 52 if (!p.deleted && p instanceof Node) { 52 if (!p.deleted && !p.incomplete && p instanceof Node) { 53 53 p.visit(this); 54 54 } … … 59 59 } else { 60 60 for (OsmPrimitive p : selection) { 61 if (!p.deleted) { 61 if (!p.deleted && !p.incomplete) { 62 62 p.visit(this); 63 63 }
Note:
See TracChangeset
for help on using the changeset viewer.