Cyberduck Mountain Duck CLI

Changeset 17129


Ignore:
Timestamp:
Mar 4, 2015 4:35:04 PM (7 years ago)
Author:
dkocher
Message:

Remove synchronization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/ch/cyberduck/core/NSObjectPathReference.java

    r16585 r17129  
    2626import org.apache.commons.collections.map.LRUMap;
    2727
    28 import java.util.Collections;
    2928import java.util.Map;
    3029
     
    3736public class NSObjectPathReference implements CacheReference<Path> {
    3837
    39     private static Map<Path, NSString> cache = Collections.synchronizedMap(new LRUMap(
     38    private static Map<Path, NSString> cache = new LRUMap(
    4039            PreferencesFactory.get().getInteger("browser.model.cache.size")
    41     ));
     40    );
    4241
    4342    public static NSObject get(final Path file) {
Note: See TracChangeset for help on using the changeset viewer.