Changeset 12192 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-05-16T00:07:12+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ListenableWeakReference.java
r12181 r12192 18 18 */ 19 19 public class ListenableWeakReference<T> extends WeakReference<T> { 20 private static ReferenceQueue<Object> GLOBAL_QUEUE = new ReferenceQueue<>();20 private static final ReferenceQueue<Object> GLOBAL_QUEUE = new ReferenceQueue<>(); 21 21 private static Thread thread; 22 22 private Runnable runOnDereference; … … 65 65 } catch (InterruptedException e) { 66 66 BugReport.intercept(e).warn(); 67 Thread.currentThread().interrupt(); 67 68 } 68 69 }
Note:
See TracChangeset
for help on using the changeset viewer.