Changeset 2300 in josm
- Timestamp:
- 2009-10-18T20:19:40+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r2299 r2300 36 36 abstract public class OsmPrimitive implements Comparable<OsmPrimitive>, Tagged { 37 37 38 private staticAtomicLong idCounter = new AtomicLong(0);38 static final AtomicLong idCounter = new AtomicLong(0); 39 39 40 40 private static final int FLAG_MODIFIED = 1 << 0; … … 400 400 */ 401 401 public void clearOsmId() { 402 this.id = idCounter. getAndDecrement();402 this.id = idCounter.decrementAndGet(); 403 403 this.version = 0; 404 404 this.incomplete = false; … … 487 487 /** 488 488 * Replies the user who has last touched this object. May be null. 489 * 489 * 490 490 * @return the user who has last touched this object. May be null. 491 491 */ … … 496 496 /** 497 497 * Sets the user who has last touched this object. 498 * 498 * 499 499 * @param user the user 500 500 */
Note:
See TracChangeset
for help on using the changeset viewer.