Changeset 2410 in josm for trunk/src/org/openstreetmap/josm/data/osm/Way.java
- Timestamp:
- 2009-11-08T15:19:50+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r2407 r2410 149 149 150 150 /** 151 * Create an identical clone of the argument (including the id).152 * 153 * @param original the original way. Must not be null.154 */ 155 public Way(Way original ) {151 * 152 * @param original 153 * @param clearId 154 */ 155 public Way(Way original, boolean clearId) { 156 156 super(original.getUniqueId(), true); 157 157 cloneFrom(original); 158 if (clearId) { 159 clearOsmId(); 160 } 161 } 162 163 /** 164 * Create an identical clone of the argument (including the id). 165 * 166 * @param original the original way. Must not be null. 167 */ 168 public Way(Way original) { 169 this(original, false); 158 170 } 159 171
Note:
See TracChangeset
for help on using the changeset viewer.