diff options
author | Jiri Vanek <[email protected]> | 2013-12-20 12:47:12 +0100 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-12-20 12:47:12 +0100 |
commit | 235f71b261fa86e39a20b3b2d3a3916f87a11e98 (patch) | |
tree | 2e2ceb82a9c21af621a53f6d9f1f66d7a66f0aed /netx | |
parent | a0fee6f1b628f4482ae271e034fceeab0a10f362 (diff) |
fixed CacheLRUWrapperTest
Diffstat (limited to 'netx')
-rw-r--r-- | netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java b/netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java index 78d19cf..bbd0cd0 100644 --- a/netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java +++ b/netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java @@ -73,14 +73,14 @@ public enum CacheLRUWrapper { /* location of cache directory */ private final String setCachePath = JNLPRuntime.getConfiguration().getProperty(DeploymentConfiguration.KEY_USER_CACHE_DIR); - private final String cacheDir = new File(setCachePath != null ? setCachePath : System.getProperty("java.io.tmpdir")).getPath(); + String cacheDir = new File(setCachePath != null ? setCachePath : System.getProperty("java.io.tmpdir")).getPath(); /* * back-end of how LRU is implemented This file is to keep track of the most * recently used items. The items are to be kept with key = (current time * accessed) followed by folder of item. value = path to file. */ - private PropertiesFile cacheOrder = new PropertiesFile( + PropertiesFile cacheOrder = new PropertiesFile( new File(cacheDir + File.separator + CACHE_INDEX_FILE_NAME)); public static final String CACHE_INDEX_FILE_NAME = "recently_used"; |