Skip to content

Commit bc3484f

Browse files
committed
remove tx param from Cursor.nativeRenew
1 parent 223dc66 commit bc3484f

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
@@ -66,7 +66,7 @@ public abstract class Cursor<T> implements Closeable {
6666

6767
static native long nativeLookupKeyUsingIndex(long cursor, int propertyId, String value);
6868

69-
static native long nativeRenew(long cursor, long tx);
69+
static native long nativeRenew(long cursor);
7070

7171
protected static native long collect313311(long cursor, long keyIfComplete, int flags,
7272
int idStr1, String valueStr1, int idStr2, String valueStr2,
@@ -268,7 +268,7 @@ protected <TARGET> Cursor<TARGET> getRelationTargetCursor(Class<TARGET> targetCl
268268
* To be used in combination with {@link Transaction#renew()}.
269269
* */
270270
public void renew() {
271-
nativeRenew(cursor, tx.internalHandle());
271+
nativeRenew(cursor);
272272
}
273273

274274
@Internal

0 commit comments

Comments
 (0)