summaryrefslogtreecommitdiff
path: root/test/cuchaz/enigma/TestSourceIndex.java
diff options
context:
space:
mode:
authorGravatar jeff2015-02-02 21:26:10 -0500
committerGravatar jeff2015-02-02 21:26:10 -0500
commit448685653e90415ebe10b08e8335462b81c30421 (patch)
tree474d9bcc08c2b5441b704595992d3beff1d2587f /test/cuchaz/enigma/TestSourceIndex.java
parentavoid concurrent modification exception (diff)
downloadenigma-fork-448685653e90415ebe10b08e8335462b81c30421.tar.gz
enigma-fork-448685653e90415ebe10b08e8335462b81c30421.tar.xz
enigma-fork-448685653e90415ebe10b08e8335462b81c30421.zip
fix issue with bridge methods
Diffstat (limited to 'test/cuchaz/enigma/TestSourceIndex.java')
-rw-r--r--test/cuchaz/enigma/TestSourceIndex.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cuchaz/enigma/TestSourceIndex.java b/test/cuchaz/enigma/TestSourceIndex.java
index ba7fc79..70a5ee4 100644
--- a/test/cuchaz/enigma/TestSourceIndex.java
+++ b/test/cuchaz/enigma/TestSourceIndex.java
@@ -11,8 +11,8 @@
11 ******************************************************************************/ 11 ******************************************************************************/
12package cuchaz.enigma; 12package cuchaz.enigma;
13 13
14import java.io.File;
15import java.util.Set; 14import java.util.Set;
15import java.util.jar.JarFile;
16 16
17import org.junit.Test; 17import org.junit.Test;
18 18
@@ -26,7 +26,7 @@ public class TestSourceIndex {
26 // TEMP 26 // TEMP
27 @Test 27 @Test
28 public void indexEverything() throws Exception { 28 public void indexEverything() throws Exception {
29 Deobfuscator deobfuscator = new Deobfuscator(new File("input/1.8.jar")); 29 Deobfuscator deobfuscator = new Deobfuscator(new JarFile("input/1.8.jar"));
30 30
31 // get all classes that aren't inner classes 31 // get all classes that aren't inner classes
32 Set<ClassEntry> classEntries = Sets.newHashSet(); 32 Set<ClassEntry> classEntries = Sets.newHashSet();