Changeset 8829 in josm for trunk/src/org
- Timestamp:
- 2015-10-05T22:49:24+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/validation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/Test.java
r8724 r8829 200 200 } 201 201 for (OsmPrimitive p : selection) { 202 if (isCanceled()) { 203 break; 204 } 202 205 if (isPrimitiveUsable(p)) { 203 206 p.accept(this); -
trunk/src/org/openstreetmap/josm/data/validation/tests/UntaggedNode.java
r8743 r8829 5 5 import static org.openstreetmap.josm.tools.I18n.tr; 6 6 7 import java.util.Collection;8 7 import java.util.Map; 9 8 … … 38 37 super(tr("Untagged and unconnected nodes"), 39 38 tr("This test checks for untagged nodes that are not part of any way.")); 40 }41 42 @Override43 public void visit(Collection<OsmPrimitive> selection) {44 for (OsmPrimitive p : selection) {45 if (p.isUsable() && p instanceof Node) {46 p.accept(this);47 }48 }49 39 } 50 40
Note:
See TracChangeset
for help on using the changeset viewer.