Avoid explicit array creation for vararg parameters

This commit is contained in:
Dmitry Cherniachenko
2017-04-18 22:16:52 +02:00
committed by Egor.Ushakov
parent d149b53799
commit dfd90978c9
6 changed files with 193 additions and 6 deletions

View File

@@ -106,7 +106,7 @@ public class SingleClassesTest {
"pkg/SharedName2", "pkg/SharedName3", "pkg/SharedName4", "pkg/NonSharedName",
"pkg/TestClashNameParent", "ext/TestClashNameParent","pkg/TestClashNameIface", "ext/TestClashNameIface"); }
@Test public void testSwitchOnEnum() { doTest("pkg/TestSwitchOnEnum","pkg/TestSwitchOnEnum$1");}
@Test public void testVarArgCalls() { doTest("pkg/TestVarArgCalls"); }
private void doTest(String testFile, String... companionFiles) {
ConsoleDecompiler decompiler = fixture.getDecompiler();