Ver código fonte

Didn't mean to push this

Jared 5 anos atrás
pai
commit
2459b7ee67
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 1
JavaShared/src/main/java/org/openzen/zenscript/javashared/prepare/JavaPrepareDefinitionVisitor.java Ver arquivo

@@ -73,7 +73,7 @@ public class JavaPrepareDefinitionVisitor implements DefinitionVisitor<JavaClass
73 73
 			JavaNativeClass list = new JavaNativeClass(new JavaClass("java.util", "List", JavaClass.Kind.INTERFACE));
74 74
 			JavaClass arrayList = new JavaClass("java.util", "ArrayList", JavaClass.Kind.CLASS);
75 75
 			list.addMethod("constructor", JavaMethod.getNativeConstructor(arrayList, "()V"));
76
-			list.addInstanceMethod("add", "add", "(TE;)Z"); List<?> l;
76
+			list.addInstanceMethod("add", "add", "(Ljava/lang/Object;)Z"); List<?> l;
77 77
 			list.addInstanceMethod("insert", "add", "(Ljava/lang/Object;I)V");
78 78
 			list.addInstanceMethod("remove", "remove", "(Ljava/lang/Object;)Z");
79 79
 			list.addInstanceMethod("indexOf", "indexOf", "(Ljava/lang/Object;)I");

Carregando…
Cancelar
Salvar