Changeset 12199 in josm for trunk/src/org
- Timestamp:
- 2017-05-17T02:57:03+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java
r12186 r12199 80 80 private double east = Double.NaN; 81 81 private double north = Double.NaN; 82 private Object eastNorthCacheKey = null;82 private Object eastNorthCacheKey; 83 83 84 84 /** -
trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java
r12196 r12199 267 267 private class WeakPreferenceAdapter extends ListenableWeakReference<ValueChangeListener<? super T>> 268 268 implements ValueChangeListener<T> { 269 publicWeakPreferenceAdapter(ValueChangeListener<? super T> referent) {269 WeakPreferenceAdapter(ValueChangeListener<? super T> referent) { 270 270 super(referent); 271 271 } … … 273 273 @Override 274 274 public void valueChanged(ValueChangeEvent<? extends T> e) { 275 ValueChangeListener<? super T> r = this.get(); 276 r.valueChanged(e); 275 ValueChangeListener<? super T> r = super.get(); 276 if (r != null) { 277 r.valueChanged(e); 278 } 277 279 } 278 280 … … 281 283 removeListenerImpl(new PreferenceChangedListenerAdapter(this)); 282 284 } 283 284 285 } 285 286
Note:
See TracChangeset
for help on using the changeset viewer.