Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/JCSCacheManager.java

    r8509 r8510  
    123123     * @throws IOException if directory is not found
    124124     */
    125     public static <K,V> CacheAccess<K, V> getCache(String cacheName) throws IOException {
     125    public static <K, V> CacheAccess<K, V> getCache(String cacheName) throws IOException {
    126126        return getCache(cacheName, DEFAULT_MAX_OBJECTS_IN_MEMORY.get().intValue(), 0, null);
    127127    }
     
    136136     * @throws IOException if directory is not found
    137137     */
    138     public static <K,V> CacheAccess<K, V> getCache(String cacheName, int maxMemoryObjects, int maxDiskObjects, String cachePath) throws IOException {
     138    public static <K, V> CacheAccess<K, V> getCache(String cacheName, int maxMemoryObjects, int maxDiskObjects, String cachePath)
     139            throws IOException {
    139140        if (cacheManager != null)
    140141            return getCacheInner(cacheName, maxMemoryObjects, maxDiskObjects, cachePath);
     
    147148    }
    148149
    149 
    150150    @SuppressWarnings("unchecked")
    151     private static <K,V> CacheAccess<K, V> getCacheInner(String cacheName, int maxMemoryObjects, int maxDiskObjects, String cachePath) {
     151    private static <K, V> CacheAccess<K, V> getCacheInner(String cacheName, int maxMemoryObjects, int maxDiskObjects, String cachePath) {
    152152        CompositeCache<K, V> cc = cacheManager.getCache(cacheName, getCacheAttributes(maxMemoryObjects));
    153153
Note: See TracChangeset for help on using the changeset viewer.