Changeset 2620 in josm for trunk/src/org/openstreetmap/josm/data/osm/Way.java
- Timestamp:
- 2009-12-12T17:10:01+01:00 (16 years ago)
- File:
-
- 1 edited
-
trunk/src/org/openstreetmap/josm/data/osm/Way.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r2609 r2620 173 173 /** 174 174 * Creates a new way for the given id. If the id > 0, the way is marked 175 * as incomplete. 176 * 177 * @param id the id. > 0 required 175 * as incomplete. If id == 0 then way is marked as new 176 * 177 * @param id the id. >= 0 required 178 178 * @throws IllegalArgumentException thrown if id < 0 179 179 */ 180 180 public Way(long id) throws IllegalArgumentException { 181 181 super(id, false); 182 } 183 184 /** 185 * Creates new way with given id and version. Way is marked as complete 186 * @param id 187 * @param version 188 */ 189 public Way(long id, int version) { 190 super(id, false); 191 setOsmId(id, version); 182 192 } 183 193
Note:
See TracChangeset
for help on using the changeset viewer.
