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) {
174
174
* Alternatively, you can also use {@link #baseDirectory} or {@link #directory(File)} instead.
175
175
*/
176
176
public BoxStoreBuilder androidContext (Object context ) {
177
+ //noinspection ConstantConditions Annotation does not enforce non-null.
177
178
if (context == null ) {
178
179
throw new NullPointerException ("Context may not be null" );
179
180
}
@@ -211,6 +212,7 @@ public BoxStoreBuilder androidReLinker(Object reLinkerInstance) {
211
212
if (context == null ) {
212
213
throw new IllegalArgumentException ("Set a Context using androidContext(context) first" );
213
214
}
215
+ //noinspection ConstantConditions Annotation does not enforce non-null.
214
216
if (reLinkerInstance == null ) {
215
217
throw new NullPointerException ("ReLinkerInstance may not be null" );
216
218
}
You can’t perform that action at this time.
0 commit comments