Ignore:
Timestamp:
2014-10-18T23:07:52+02:00 (11 years ago)
Author:
donvip
Message:

[josm_plugins] fix Java 7 / unused code warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagerycache/src/org/mapdb/CacheWeakSoftRef.java

    r29484 r30737  
    7979
    8080
    81     protected LongConcurrentHashMap<CacheItem> items = new LongConcurrentHashMap<CacheItem>();
     81    protected LongConcurrentHashMap<CacheItem> items = new LongConcurrentHashMap<>();
    8282
    8383
     
    157157        ReferenceQueue<A> q = checkClosed(queue);
    158158        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));
    161161    }
    162162
Note: See TracChangeset for help on using the changeset viewer.