Ignore:
Timestamp:
2021-07-13T23:56:50+02:00 (4 years ago)
Author:
Don-vip
Message:

remove deprecated stuff not used by plugins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxImageEntry.java

    r17880 r18014  
    228228     * Returns EXIF time
    229229     * @return EXIF time
    230      * @deprecated Use {@link #getExifInstant}
    231      */
    232     @Deprecated
    233     public Date getExifTime() {
    234         return getDefensiveDate(exifTime);
    235     }
    236 
    237     /**
    238      * Returns EXIF time
    239      * @return EXIF time
     230     * @since 17715
    240231     */
    241232    public Instant getExifInstant() {
     
    266257     * Returns the EXIF GPS time.
    267258     * @return the EXIF GPS time
     259     * @since 17715
    268260     */
    269261    public Instant getExifGpsInstant() {
     
    365357     * Sets EXIF time.
    366358     * @param exifTime EXIF time
    367      * @deprecated Use {@link #setExifTime(Instant)}
    368      */
    369     @Deprecated
    370     public void setExifTime(Date exifTime) {
    371         this.exifTime = exifTime == null ? null : exifTime.toInstant();
     359     * @since 17715
     360     */
     361    public void setExifTime(Instant exifTime) {
     362        this.exifTime = exifTime;
    372363    }
    373364
     
    375366     * Sets the EXIF GPS time.
    376367     * @param exifGpsTime the EXIF GPS time
    377      * @since 6392
    378      * @deprecated Use {@link #setExifGpsTime(Instant)}
    379      */
    380     @Deprecated
    381     public void setExifGpsTime(Date exifGpsTime) {
    382         this.exifGpsTime = exifGpsTime == null ? null : exifGpsTime.toInstant();
     368     * @since 17715
     369     */
     370    public void setExifGpsTime(Instant exifGpsTime) {
     371        this.exifGpsTime = exifGpsTime;
    383372    }
    384373
     
    386375     * Sets the GPS time.
    387376     * @param gpsTime the GPS time
    388      * @deprecated Use {@link #setGpsTime(Instant)}
    389      */
    390     @Deprecated
    391     public void setGpsTime(Date gpsTime) {
    392         this.gpsTime = gpsTime == null ? null : gpsTime.toInstant();
    393     }
    394 
    395     /**
    396      * Sets EXIF time.
    397      * @param exifTime EXIF time
    398      */
    399     public void setExifTime(Instant exifTime) {
    400         this.exifTime = exifTime;
    401     }
    402 
    403     /**
    404      * Sets the EXIF GPS time.
    405      * @param exifGpsTime the EXIF GPS time
    406      */
    407     public void setExifGpsTime(Instant exifGpsTime) {
    408         this.exifGpsTime = exifGpsTime;
    409     }
    410 
    411     /**
    412      * Sets the GPS time.
    413      * @param gpsTime the GPS time
     377     * @since 17715
    414378     */
    415379    public void setGpsTime(Instant gpsTime) {
Note: See TracChangeset for help on using the changeset viewer.