- Timestamp:
- 2017-05-17T02:57:03+02:00 (8 years ago)
- Location:
- trunk
- Files:
-
- 3 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 -
trunk/tools/pmd/josm-ruleset.xml
r11930 r12199 29 29 <rule ref="rulesets/java/strictexception.xml"> 30 30 <exclude name="ExceptionAsFlowControl"/> 31 <exclude name="AvoidCatchingGenericException"/> 31 32 <exclude name="AvoidRethrowingException"/> 32 33 </rule>
Note:
See TracChangeset
for help on using the changeset viewer.