Changeset 12207 in josm


Ignore:
Timestamp:
2017-05-18T22:57:03+02:00 (5 months ago)
Author:
michael2402
Message:

Add documentation on WeakPreferenceAdapter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java

    r12199 r12207  
    265265    }
    266266
     267    /**
     268     * This class wraps the ValueChangeListener in a ListenableWeakReference that automatically removes itself
     269     * if the listener is garbage collected.
     270     * @author Michael Zangl
     271     */
    267272    private class WeakPreferenceAdapter extends ListenableWeakReference<ValueChangeListener<? super T>>
    268273            implements ValueChangeListener<T> {
Note: See TracChangeset for help on using the changeset viewer.