Changeset 9770 in josm


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

test StyleCache (see #12279)

Location:
trunk
Files:
2 added
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.