Ignore:
Timestamp:
2017-06-01T15:43:36+02:00 (7 years ago)
Author:
bastiK
Message:

deprecate CustomProjection constructor + change removal date for cacheDir related deprecations (ref [12289])

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/AbstractProjectionChoice.java

    r12289 r12293  
    5151    }
    5252
     53    /**
     54    * Get the cache directory name.
     55    * @return the cache directory name (base name)
     56    * @deprecated unused - remove in 2017-09
     57    */
     58    @Deprecated
     59    public String getCacheDir() {
     60        return cacheDir;
     61    }
     62
    5363    @Override
    5464    public String toString() {
     
    6474        String code = getCurrentCode();
    6575        return new CustomProjection(getProjectionName(), code, Optional.ofNullable(Projections.getInit(code))
    66                 .orElseThrow(() -> new AssertionError("Error: Unknown projection code: " + code)), cacheDir);
     76                .orElseThrow(() -> new AssertionError("Error: Unknown projection code: " + code)));
    6777    }
    6878}
Note: See TracChangeset for help on using the changeset viewer.