Ignore:
Timestamp:
2017-06-01T15:43:36+02:00 (3 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/data/projection/CustomProjection.java

    r12236 r12293  
    210210     * @param pref the string that defines the custom projection
    211211     * @param cacheDir cache directory name
     212     * @deprecated unused - remove in 2017-09
    212213     */
    213214    public CustomProjection(String name, String code, String pref, String cacheDir) {
     215        this(name, code, pref);
     216    }
     217
     218    /**
     219     * Constructs a new {@code CustomProjection} with given name, code and parameters.
     220     *
     221     * @param name describe projection in one or two words
     222     * @param code unique code for this projection - may be null
     223     * @param pref the string that defines the custom projection
     224     */
     225    public CustomProjection(String name, String code, String pref) {
    214226        this.name = name;
    215227        this.code = code;
    216228        this.pref = pref;
    217         this.cacheDir = cacheDir;
    218229        try {
    219230            update(pref);
     
    708719    /**
    709720     * {@inheritDoc}
    710      * @deprecated unused - remove in 2017-07
     721     * @deprecated unused - remove in 2017-09
    711722     */
    712723    @Override
Note: See TracChangeset for help on using the changeset viewer.