JAL-3446 from JAL-3253 ApplicationSingletonProvider missing for
[jalview.git] / src / jalview / io / cache / AppCache.java
index 76827f9..fdcad08 100644 (file)
@@ -41,6 +41,11 @@ public class AppCache implements ApplicationSingletonI
     return (AppCache) ApplicationSingletonProvider.getInstance(AppCache.class);
   }
 
+  private AppCache()
+  {
+    cacheItems = new Hashtable<String, LinkedHashSet<String>>();
+  }
+
   public static final String DEFAULT_LIMIT = "99";
 
   public static final String CACHE_DELIMITER = ";";
@@ -49,10 +54,6 @@ public class AppCache implements ApplicationSingletonI
 
   private Hashtable<String, LinkedHashSet<String>> cacheItems;
 
-  private AppCache()
-  {
-    cacheItems = new Hashtable<String, LinkedHashSet<String>>();
-  }
 
   /**
    * Method to obtain all the cache items for a given cache key