Initial commit
This commit is contained in:
22
sources/com/google/gson/internal/C$Gson$Preconditions.java
Normal file
22
sources/com/google/gson/internal/C$Gson$Preconditions.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package com.google.gson.internal;
|
||||
|
||||
/* renamed from: com.google.gson.internal.$Gson$Preconditions, reason: invalid class name */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C$Gson$Preconditions {
|
||||
private C$Gson$Preconditions() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public static void checkArgument(boolean z) {
|
||||
if (!z) {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
}
|
||||
|
||||
public static <T> T checkNotNull(T t) {
|
||||
if (t != null) {
|
||||
return t;
|
||||
}
|
||||
throw new NullPointerException();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user