Changeset 12289 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/projection/AbstractProjectionChoice.java
- Timestamp:
- 2017-06-01T01:28:08+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/AbstractProjectionChoice.java
r12216 r12289 51 51 } 52 52 53 /**54 * Get the cache directory name.55 * @return the cache directory name (base name)56 * @deprecated unused - remove in 2017-0757 */58 @Deprecated59 public String getCacheDir() {60 return cacheDir;61 }62 63 53 @Override 64 54 public String toString() { … … 74 64 String code = getCurrentCode(); 75 65 return new CustomProjection(getProjectionName(), code, Optional.ofNullable(Projections.getInit(code)) 76 .orElseThrow(() -> new AssertionError("Error: Unknown projection code: " + code)), getCacheDir());66 .orElseThrow(() -> new AssertionError("Error: Unknown projection code: " + code)), cacheDir); 77 67 } 78 68 }
Note:
See TracChangeset
for help on using the changeset viewer.
