Ignore:
Timestamp:
2009-12-12T17:10:01+01:00 (16 years ago)
Author:
jttt
Message:

Remove OsmPrimitive.setIncomplete()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Way.java

    r2609 r2620  
    173173    /**
    174174     * 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
    178178     * @throws IllegalArgumentException thrown if id < 0
    179179     */
    180180    public Way(long id) throws IllegalArgumentException {
    181181        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);
    182192    }
    183193
Note: See TracChangeset for help on using the changeset viewer.