Changeset 30737 in osm for applications/editors/josm/plugins/imagerycache/src/org/mapdb/CacheWeakSoftRef.java
- Timestamp:
- 2014-10-18T23:07:52+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagerycache/src/org/mapdb/CacheWeakSoftRef.java
r29484 r30737 79 79 80 80 81 protected LongConcurrentHashMap<CacheItem> items = new LongConcurrentHashMap< CacheItem>();81 protected LongConcurrentHashMap<CacheItem> items = new LongConcurrentHashMap<>(); 82 82 83 83 … … 157 157 ReferenceQueue<A> q = checkClosed(queue); 158 158 checkClosed(items).put(recid, useWeakRef? 159 new CacheWeakItem< A>(value, q, recid) :160 new CacheSoftItem< A>(value, q, recid));159 new CacheWeakItem<>(value, q, recid) : 160 new CacheSoftItem<>(value, q, recid)); 161 161 } 162 162
Note:
See TracChangeset
for help on using the changeset viewer.
