diff --git a/jso/apis/src/main/java/org/teavm/jso/indexeddb/IDBIndex.java b/jso/apis/src/main/java/org/teavm/jso/indexeddb/IDBIndex.java index 524a13de0..1e56a9ab8 100644 --- a/jso/apis/src/main/java/org/teavm/jso/indexeddb/IDBIndex.java +++ b/jso/apis/src/main/java/org/teavm/jso/indexeddb/IDBIndex.java @@ -16,7 +16,6 @@ package org.teavm.jso.indexeddb; import org.teavm.jso.JSBody; -import org.teavm.jso.JSByRef; import org.teavm.jso.JSObject; import org.teavm.jso.JSProperty; import org.teavm.jso.core.JSString; @@ -38,7 +37,6 @@ public abstract class IDBIndex implements JSObject, IDBCursorSource { } @JSBody(params = "obj", script = "return obj;") - @JSByRef private static native String[] unwrapStringArray(JSObject obj); @JSProperty diff --git a/jso/core/src/main/java/org/teavm/jso/JSByRef.java b/jso/core/src/main/java/org/teavm/jso/JSByRef.java index 3092fac1d..70ee7ca1e 100644 --- a/jso/core/src/main/java/org/teavm/jso/JSByRef.java +++ b/jso/core/src/main/java/org/teavm/jso/JSByRef.java @@ -23,7 +23,7 @@ import java.lang.annotation.Target; /** *
Marks parameters of JavaScript methods that should be passed by reference. * This annotation is only applicable to parameters of array type. More specifically: - * to: byte[], short[], char[], int[], float[], double[] or T[], where T is JSObject.
+ * to: byte[], short[], char[], int[], float[], double[]. */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.PARAMETER, ElementType.METHOD })