We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 051b232 commit 050be36Copy full SHA for 050be36
objectbox-java/src/main/java/io/objectbox/BoxStore.java
@@ -243,7 +243,7 @@ public static boolean isObjectBrowserAvailable() {
243
objectClassPublisher = new ObjectClassPublisher(this);
244
245
failedReadTxAttemptCallback = builder.failedReadTxAttemptCallback;
246
- queryAttempts = builder.queryAttempts < 1 ? 1 : builder.queryAttempts;
+ queryAttempts = Math.max(builder.queryAttempts, 1);
247
}
248
249
static String getCanonicalPath(File directory) {
0 commit comments