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/TestDeobfuscator.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/TestDeobfuscator.java')
| -rw-r--r-- | test/cuchaz/enigma/TestDeobfuscator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cuchaz/enigma/TestDeobfuscator.java b/test/cuchaz/enigma/TestDeobfuscator.java index 6ac4c78..129d7b2 100644 --- a/test/cuchaz/enigma/TestDeobfuscator.java +++ b/test/cuchaz/enigma/TestDeobfuscator.java | |||
| @@ -13,9 +13,9 @@ package cuchaz.enigma; | |||
| 13 | 13 | ||
| 14 | import static org.junit.Assert.*; | 14 | import static org.junit.Assert.*; |
| 15 | 15 | ||
| 16 | import java.io.File; | ||
| 17 | import java.io.IOException; | 16 | import java.io.IOException; |
| 18 | import java.util.List; | 17 | import java.util.List; |
| 18 | import java.util.jar.JarFile; | ||
| 19 | 19 | ||
| 20 | import org.junit.Test; | 20 | import org.junit.Test; |
| 21 | 21 | ||
| @@ -26,7 +26,7 @@ import cuchaz.enigma.mapping.ClassEntry; | |||
| 26 | public class TestDeobfuscator { | 26 | public class TestDeobfuscator { |
| 27 | 27 | ||
| 28 | private Deobfuscator getDeobfuscator() throws IOException { | 28 | private Deobfuscator getDeobfuscator() throws IOException { |
| 29 | return new Deobfuscator(new File("build/testLoneClass.obf.jar")); | 29 | return new Deobfuscator(new JarFile("build/testLoneClass.obf.jar")); |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | @Test | 32 | @Test |