- Timestamp:
- 2025-02-20T18:23:25+01:00 (4 days ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
r19284 r19330 310 310 } 311 311 312 @Deprecated(since = "17749")313 @Override314 public void setTimestamp(Date timestamp) {315 this.timestamp = (int) TimeUnit.MILLISECONDS.toSeconds(timestamp.getTime());316 }317 318 312 @Override 319 313 public void setInstant(Instant timestamp) { … … 324 318 public void setRawTimestamp(int timestamp) { 325 319 this.timestamp = timestamp; 326 }327 328 @Deprecated(since = "17749")329 @Override330 public Date getTimestamp() {331 return Date.from(getInstant());332 320 } 333 321 -
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r19108 r19330 300 300 } 301 301 302 @Deprecated(since = "17749", forRemoval = true)303 @Override304 public void setTimestamp(Date timestamp) {305 checkDatasetNotReadOnly();306 boolean locked = writeLock();307 try {308 super.setTimestamp(timestamp);309 } finally {310 writeUnlock(locked);311 }312 }313 314 302 /* ------- 315 303 /* FLAGS
Note:
See TracChangeset
for help on using the changeset viewer.