Ignore:
Timestamp:
2017-11-28T00:56:29+01:00 (6 years ago)
Author:
Don-vip
Message:

see #15310 - remove most of deprecated APIs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java

    r12868 r13173  
    210210     * @param code unique code for this projection - may be null
    211211     * @param pref the string that defines the custom projection
    212      * @param cacheDir cache directory name
    213      * @deprecated unused - remove in 2017-09
    214      */
    215     @Deprecated
    216     public CustomProjection(String name, String code, String pref, String cacheDir) {
    217         this(name, code, pref);
    218     }
    219 
    220     /**
    221      * Constructs a new {@code CustomProjection} with given name, code and parameters.
    222      *
    223      * @param name describe projection in one or two words
    224      * @param code unique code for this projection - may be null
    225      * @param pref the string that defines the custom projection
    226212     */
    227213    public CustomProjection(String name, String code, String pref) {
     
    693679    }
    694680
    695     /**
    696      * {@inheritDoc}
    697      * @deprecated unused - remove in 2017-09
    698      */
    699     @Override
    700     @Deprecated
    701     public String getCacheDirectoryName() {
    702         if (cacheDir != null) {
    703             return cacheDir;
    704         } else {
    705             return "proj-" + Utils.md5Hex(pref == null ? "" : pref).substring(0, 4);
    706         }
    707     }
    708 
    709681    @Override
    710682    public Bounds getWorldBoundsLatLon() {
Note: See TracChangeset for help on using the changeset viewer.