Skip to content

Commit 1546199

Browse files
committed
deprecated Cursor.lookupKeyUsingIndex
1 parent 5e94f17 commit 1546199

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,10 @@ public List<T> find(Property property, String value) {
223223
}
224224

225225
/**
226+
* @deprecated TODO only used in tests, remove in the future
226227
* @return key or 0 if not found
227228
*/
228-
public long lookupKeyUsingIndex(int propertyId, String value) {
229+
long lookupKeyUsingIndex(int propertyId, String value) {
229230
return nativeLookupKeyUsingIndex(cursor, propertyId, value);
230231
}
231232

0 commit comments

Comments
 (0)