Changeset 6137 in josm


Ignore:
Timestamp:
2013-08-11T19:34:02+02:00 (11 years ago)
Author:
Don-vip
Message:

fix warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Storage.java

    r6084 r6137  
    112112    private boolean arrayCopyNecessary;
    113113
     114    /**
     115     * Constructs a new {@code Storage} with default capacity (16).
     116     */
    114117    public Storage() {
    115118        this(Storage.<T>defaultHash(), DEFAULT_CAPACITY, false);
    116119    }
    117120
     121    /**
     122     * Constructs a new {@code Storage} with given capacity.
     123     */
    118124    public Storage(int capacity) {
    119125        this(Storage.<T>defaultHash(), capacity, false);
     
    440446        public void putAll(Map<? extends K, ? extends T> m) {
    441447            if (m instanceof Storage.FMap) {
    442                 Storage.this.addAll(((Storage.FMap)m).values());
     448                Storage.this.addAll(m.values());
    443449            } else {
    444450                for (Map.Entry<? extends K, ? extends T> e : m.entrySet()) {
Note: See TracChangeset for help on using the changeset viewer.