mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 13:20:50 +00:00
generic parameters
This commit is contained in:
@@ -280,8 +280,8 @@ public class Helper {
|
||||
}
|
||||
}
|
||||
|
||||
public static List toList(Object... rest) {
|
||||
List ret = new ArrayList();
|
||||
public static List<Object> toList(Object... rest) {
|
||||
List<Object> ret = new ArrayList<Object>();
|
||||
for (Object o : rest) {
|
||||
ret.add(o);
|
||||
}
|
||||
@@ -338,7 +338,7 @@ public class Helper {
|
||||
return str.replaceAll("<ffdec:hex>([^\r\n]*)</ffdec:hex>(\r?\n)", "; $1$2");
|
||||
}
|
||||
|
||||
public static String stackToString(Stack<GraphTargetItem> stack, List localData) {
|
||||
public static String stackToString(Stack<GraphTargetItem> stack, List<Object> localData) {
|
||||
String ret = "[";
|
||||
for (int i = stack.size() - 1; i >= 0; i--) {
|
||||
if (i < stack.size() - 1) {
|
||||
|
||||
Reference in New Issue
Block a user