mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 14:20:46 +00:00
AS1/2 and AS3 now share common decompiling method
This commit is contained in:
@@ -20,6 +20,7 @@ import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.ObjectInputStream;
|
||||
import java.io.ObjectOutputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -264,4 +265,12 @@ public class Helper {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static List toList(Object... rest) {
|
||||
List ret = new ArrayList();
|
||||
for (Object o : rest) {
|
||||
ret.add(o);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user