Changeset 12289 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-06-01T01:28:08+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/GpxTrack.java
r12171 r12289 36 36 */ 37 37 double length(); 38 39 /**40 * Returns the number of times this track has been changed.41 * @return Number of times this track has been changed. Always 0 for read-only tracks42 * @deprecated since 12156 Replaced by change listeners.43 */44 @Deprecated45 default int getUpdateCount() {46 // to allow removal47 return 0;48 }49 38 50 39 /** -
trunk/src/org/openstreetmap/josm/data/gpx/ImmutableGpxTrack.java
r11553 r12289 84 84 85 85 @Override 86 public int getUpdateCount() {87 return 0;88 }89 90 @Override91 86 public int hashCode() { 92 87 return 31 * super.hashCode() + ((segments == null) ? 0 : segments.hashCode()); -
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.