Cache fixed in ui project

This commit is contained in:
honfika@gmail.com
2014-09-07 20:36:57 +02:00
parent 409ea41651
commit a00dd25d8c
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ public class DecompiledEditorPane extends LineMarkedEditorPane implements CaretL
private final ABCPanel abcPanel;
private int classIndex = -1;
private boolean isStatic = false;
private final Cache<CachedDecompilation> cache = Cache.getInstance(true);
private final Cache<ScriptPack, CachedDecompilation> cache = Cache.getInstance(true);
private final List<Runnable> scriptListeners = new ArrayList<>();

View File

@@ -121,7 +121,7 @@ public class ActionPanel extends JPanel implements ActionListener, SearchListene
private String lastDecompiled = "";
private ASMSource lastASM;
public SearchPanel<ActionSearchResult> searchPanel;
private Cache<CachedScript> cache = Cache.getInstance(true);
private Cache<ASMSource, CachedScript> cache = Cache.getInstance(true);
private CancellableWorker setSourceWorker;
public void clearSource() {