Changeset 6303 in osm for applications/editors/josm
- Timestamp:
- 2008-01-09T20:24:42+01:00 (17 years ago)
- Location:
- applications/editors/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/TestError.java
r6302 r6303 310 310 311 311 public void visit(WaySegment ws) { 312 if (ws.lowerIndex < 0 || ws.lowerIndex >= ws.way.nodes.size()) return; 312 if (ws.lowerIndex < 0 || ws.lowerIndex + 1 >= ws.way.nodes.size()) return; 313 313 Node a = ws.way.nodes.get(ws.lowerIndex), 314 314 b = ws.way.nodes.get(ws.lowerIndex + 1);
Note:
See TracChangeset
for help on using the changeset viewer.