Parcourir la source

Didn't mean to push this

Jared il y a 5 ans
Parent
révision
2459b7ee67
Aucun compte lié à l'adresse e-mail de l'auteur

+ 1
- 1
JavaShared/src/main/java/org/openzen/zenscript/javashared/prepare/JavaPrepareDefinitionVisitor.java Voir le fichier

@@ -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");

Loading…
Annuler
Enregistrer