Skip to content

Commit e96f5d1

Browse files
Cursor: collected String array or List may be null.
1 parent 4a40b55 commit e96f5d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

objectbox-java/src/main/java/io/objectbox/Cursor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ protected static native long collect004000(long cursor, long keyIfComplete, int
106106
);
107107

108108
protected static native long collectStringArray(long cursor, long keyIfComplete, int flags,
109-
int idStringArray, String[] stringArray
109+
int idStringArray, @Nullable String[] stringArray
110110
);
111111

112112
protected static native long collectStringList(long cursor, long keyIfComplete, int flags,
113-
int idStringList, List<String> stringList
113+
int idStringList, @Nullable List<String> stringList
114114
);
115115

116116
native int nativePropertyId(long cursor, String propertyValue);

0 commit comments

Comments
 (0)