Changeset 12293 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2017-06-01T15:43:36+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/AbstractProjectionChoice.java
r12289 r12293 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-09 57 */ 58 @Deprecated 59 public String getCacheDir() { 60 return cacheDir; 61 } 62 53 63 @Override 54 64 public String toString() { … … 64 74 String code = getCurrentCode(); 65 75 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))); 67 77 } 68 78 }
Note:
See TracChangeset
for help on using the changeset viewer.