Changeset 4327 in josm for trunk/src/org/openstreetmap/josm/data/osm/WaySegment.java
- Timestamp:
- 2011-08-21T13:12:53+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/WaySegment.java
r3557 r4327 30 30 } 31 31 32 /** 33 * returns this way segment as complete way. 34 * @return 35 */ 36 public Way toWay() { 37 Way w = new Way(); 38 w.addNode(getFirstNode()); 39 w.addNode(getSecondNode()); 40 return w; 41 } 42 32 43 @Override public boolean equals(Object o) { 33 44 return o != null && o instanceof WaySegment
Note:
See TracChangeset
for help on using the changeset viewer.