JAL-1648 refactored and improved caching architecture implementation. The improved...
[jalview.git] / src / jalview / gui / Finder.java
index 8eabadb..5ca62b3 100755 (executable)
@@ -78,7 +78,6 @@ public class Finder extends GFinder
   {
     this(null, null);
     focusfixed = false;
-    initCache();
   }
 
   /**
@@ -332,7 +331,7 @@ public class Finder extends GFinder
         seqIndex = 0;
       }
     }
-    updateCache();
+    searchBox.updateCache();
   }
 
   /**
@@ -388,6 +387,6 @@ public class Finder extends GFinder
   protected void closeAction()
   {
     frame.dispose();
-    AppCache.getInstance().persistCache(this);
+    AppCache.getInstance().persistCache(getCacheKey());
   }
 }