diff options
| author | 2015-02-02 21:26:10 -0500 | |
|---|---|---|
| committer | 2015-02-02 21:26:10 -0500 | |
| commit | 448685653e90415ebe10b08e8335462b81c30421 (patch) | |
| tree | 474d9bcc08c2b5441b704595992d3beff1d2587f /test/cuchaz/enigma/TestSourceIndex.java | |
| parent | avoid concurrent modification exception (diff) | |
| download | enigma-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.java | 4 |
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 | ******************************************************************************/ |
| 12 | package cuchaz.enigma; | 12 | package cuchaz.enigma; |
| 13 | 13 | ||
| 14 | import java.io.File; | ||
| 15 | import java.util.Set; | 14 | import java.util.Set; |
| 15 | import java.util.jar.JarFile; | ||
| 16 | 16 | ||
| 17 | import org.junit.Test; | 17 | import 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(); |