Changeset 16082 in josm for trunk/src/org


Ignore:
Timestamp:
2020-03-08T16:12:19+01:00 (5 years ago)
Author:
simon04
Message:

fix Java warning, Javadoc warning

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/RecentTagCollection.java

    r16080 r16082  
    2424
    2525    RecentTagCollection(final int capacity) {
    26         recentTags = new LruCache(capacity);
     26        recentTags = new LruCache<>(capacity);
    2727        tagsToIgnore = SearchCompiler.Never.INSTANCE;
    2828    }
  • trunk/src/org/openstreetmap/josm/gui/util/LruCache.java

    r16080 r16082  
    77/**
    88 * LRU cache
    9  * @apiNote http://java-planet.blogspot.com/2005/08/how-to-set-up-simple-lru-cache-using.html
     9 * @see <a href="http://java-planet.blogspot.com/2005/08/how-to-set-up-simple-lru-cache-using.html">
     10 *     Java Planet: How to set up a simple LRU cache using LinkedHashMap</a>
    1011 */
    1112public final class LruCache<K, V> extends LinkedHashMap<K, V> {
Note: See TracChangeset for help on using the changeset viewer.