Skip to content

Commit 430ba1b

Browse files
Deprecated APIs: remove BoxStoreBuilder.debugTransactions
This was deprecated in release 1.2.1
1 parent a98fcf1 commit 430ba1b

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ For more insights into what changed in the ObjectBox C++ core, [check the Object
1414
closing `BoxStore`.
1515
- Remove deprecated `Box.removeByKeys`, use `Box.removeByIds` instead.
1616
- Remove deprecated `BoxStore.sizeOnDisk`, use `getDbSize` or `getDbSizeOnDisk` instead which properly handle in-memory databases.
17+
- Remove deprecated `BoxStoreBuilder.debugTransactions`, use `debugFlags(DebugFlags.LOG_TRANSACTIONS_READ | DebugFlags.LOG_TRANSACTIONS_WRITE)` instead.
1718
- Remove deprecated `SyncServerBuilder` `peer` configuration options, use the `clusterPeer` options instead.
1819
- Remove deprecated `io.objectbox.DebugFlags`, use `io.objectbox.config.DebugFlags` instead.
1920
- Remove deprecated `ValidateOnOpenMode` constants, use `ValidateOnOpenModePages` instead.

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

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2024 ObjectBox Ltd.
2+
* Copyright 2017-2025 ObjectBox Ltd.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -512,15 +512,6 @@ public BoxStoreBuilder validateOnOpenKv(short mode) {
512512
return this;
513513
}
514514

515-
/**
516-
* @deprecated Use {@link #debugFlags} instead.
517-
*/
518-
@Deprecated
519-
public BoxStoreBuilder debugTransactions() {
520-
this.debugFlags |= DebugFlags.LOG_TRANSACTIONS_READ | DebugFlags.LOG_TRANSACTIONS_WRITE;
521-
return this;
522-
}
523-
524515
/**
525516
* Debug flags typically enable additional logging, see {@link DebugFlags} for valid values.
526517
* <p>

0 commit comments

Comments
 (0)