Changeset 13030 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-10-21T14:25:59+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/WaySegment.java
r11893 r13030 25 25 * @param w The way 26 26 * @param i The node lower index 27 * @throws IllegalArgumentException in case of invalid index 27 28 */ 28 29 public WaySegment(Way w, int i) { 29 30 way = w; 30 31 lowerIndex = i; 32 if (i < 0 || i >= w.getNodesCount() - 1) { 33 throw new IllegalArgumentException(toString()); 34 } 31 35 } 32 36
Note:
See TracChangeset
for help on using the changeset viewer.