Skip to content

Commit 5089e37

Browse files
Deprecated APIs: remove Box.removeByKeys
This was deprecated in release 2.4.0-RC
1 parent e807b80 commit 5089e37

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ For more insights into what changed in the ObjectBox C++ core, [check the Object
1212
- When using `BoxStoreBuilder.buildDefault()`, don't leak Store when setting as default fails.
1313
- To help diagnose, print stacks of all threads in the internal thread pool if shutting it down takes too long when
1414
closing `BoxStore`.
15+
- Remove deprecated `Box.removeByKeys`, use `Box.removeByIds` instead.
1516
- Remove deprecated `SyncServerBuilder` `peer` configuration options, use the `clusterPeer` options instead.
1617
- Remove deprecated `io.objectbox.DebugFlags`, use `io.objectbox.config.DebugFlags` instead.
1718
- Remove deprecated `ValidateOnOpenMode` constants, use `ValidateOnOpenModePages` instead.

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -485,14 +485,6 @@ public void remove(@Nullable long... ids) {
485485
}
486486
}
487487

488-
/**
489-
* @deprecated use {@link #removeByIds(Collection)} instead.
490-
*/
491-
@Deprecated
492-
public void removeByKeys(@Nullable Collection<Long> ids) {
493-
removeByIds(ids);
494-
}
495-
496488
/**
497489
* Like {@link #remove(long)}, but removes multiple objects in a single transaction.
498490
*/

0 commit comments

Comments
 (0)