File tree Expand file tree Collapse file tree
tests/objectbox-java-test/src/test/java/io/objectbox/query Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*
2- * Copyright 2017-2024 ObjectBox Ltd.
2+ * Copyright © 2016 ObjectBox Ltd. <https://objectbox.io/>
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.
@@ -221,10 +221,10 @@ private void assertThrowsEntityDeleted(ThrowingRunnable runnable) {
221221 public void testNullNotNull () {
222222 List <TestEntity > scalars = putTestEntitiesScalars ();
223223 List <TestEntity > strings = putTestEntitiesStrings ();
224- try (Query <TestEntity > notNull = box .query () .notNull (simpleString ).build ()) {
224+ try (Query <TestEntity > notNull = box .query (simpleString .notNull () ).build ()) {
225225 assertEquals (strings .size (), notNull .count ());
226226 }
227- try (Query <TestEntity > isNull = box .query () .isNull (simpleString ).build ()) {
227+ try (Query <TestEntity > isNull = box .query (simpleString .isNull () ).build ()) {
228228 assertEquals (scalars .size (), isNull .count ());
229229 }
230230 }
You can’t perform that action at this time.
0 commit comments