Changeset 9770 in josm for trunk/src/org


Ignore:
Timestamp:
2016-02-09T17:43:52+01:00 (8 years ago)
Author:
bastiK
Message:

test StyleCache (see #12279)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/StyleCache.java

    r9341 r9770  
    8282        return internPool.putUnique(this);
    8383    }
     84
     85    /**
     86     * Get the size of the intern pool. Only for tests!
     87     * @return size of the intern pool
     88     */
     89    public static int getInternPoolSize() {
     90        return internPool.size();
     91    }
    8492}
Note: See TracChangeset for help on using the changeset viewer.