Changeset 13173 in josm for trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
- Timestamp:
- 2017-11-28T00:56:29+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r12868 r13173 210 210 * @param code unique code for this projection - may be null 211 211 * @param pref the string that defines the custom projection 212 * @param cacheDir cache directory name213 * @deprecated unused - remove in 2017-09214 */215 @Deprecated216 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 words224 * @param code unique code for this projection - may be null225 * @param pref the string that defines the custom projection226 212 */ 227 213 public CustomProjection(String name, String code, String pref) { … … 693 679 } 694 680 695 /**696 * {@inheritDoc}697 * @deprecated unused - remove in 2017-09698 */699 @Override700 @Deprecated701 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 709 681 @Override 710 682 public Bounds getWorldBoundsLatLon() {
Note:
See TracChangeset
for help on using the changeset viewer.