Skip to content

Commit a8db854

Browse files
argzdevrlazo
andauthored
Update firebase-ml-modeldownloader/src/main/java/com/google/firebase/ml/modeldownloader/internal/FirebaseMlLogger.java
Co-authored-by: Rodrigo Lazo <[email protected]>
1 parent a157019 commit a8db854

File tree

1 file changed

+1
-2
lines changed
  • firebase-ml-modeldownloader/src/main/java/com/google/firebase/ml/modeldownloader/internal

1 file changed

+1
-2
lines changed

firebase-ml-modeldownloader/src/main/java/com/google/firebase/ml/modeldownloader/internal/FirebaseMlLogger.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ public static FirebaseMlLogger getInstance() {
9595
}
9696

9797
@NonNull
98-
public static FirebaseMlLogger getInstance(FirebaseApp app) {
99-
Preconditions.checkArgument(app != null, "Null is not a valid value of FirebaseApp.");
98+
public static FirebaseMlLogger getInstance(@NonNull FirebaseApp app) {
10099
return FirebaseApp.getInstance(app.getName()).get(FirebaseMlLogger.class);
101100
}
102101

0 commit comments

Comments
 (0)