Changeset 12050 in josm for trunk/src/org/openstreetmap/josm/data/validation
- Timestamp:
- 2017-05-03T17:27:50+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/LongSegment.java
r12040 r12050 130 130 } 131 131 132 private boolean isUsableNode(OsmPrimitive p) {132 private static boolean isUsableNode(OsmPrimitive p) { 133 133 // test changed nodes - ways referred by them may not be checked automatically. 134 134 return p instanceof Node && p.isDrawable(); 135 135 } 136 136 137 private boolean isUsableWay(OsmPrimitive p) {137 private static boolean isUsableWay(OsmPrimitive p) { 138 138 // test only Ways with at least 2 nodes 139 139 return p instanceof Way && ((Way) p).getNodesCount() > 1;
Note:
See TracChangeset
for help on using the changeset viewer.