File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
objectbox-java/src/main/java/io/objectbox Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ public BoxStoreBuilder baseDirectory(File baseDirectory) {
174174 * Alternatively, you can also use {@link #baseDirectory} or {@link #directory(File)} instead.
175175 */
176176 public BoxStoreBuilder androidContext (Object context ) {
177+ //noinspection ConstantConditions Annotation does not enforce non-null.
177178 if (context == null ) {
178179 throw new NullPointerException ("Context may not be null" );
179180 }
@@ -211,6 +212,7 @@ public BoxStoreBuilder androidReLinker(Object reLinkerInstance) {
211212 if (context == null ) {
212213 throw new IllegalArgumentException ("Set a Context using androidContext(context) first" );
213214 }
215+ //noinspection ConstantConditions Annotation does not enforce non-null.
214216 if (reLinkerInstance == null ) {
215217 throw new NullPointerException ("ReLinkerInstance may not be null" );
216218 }
You can’t perform that action at this time.
0 commit comments