- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
35 lines
1.1 KiB
Java
35 lines
1.1 KiB
Java
package com.google.android.gms.internal.fido;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzfk {
|
|
public static Object zza(Object obj, String str) {
|
|
if (obj != null) {
|
|
return obj;
|
|
}
|
|
throw new NullPointerException(str.concat(" must not be null"));
|
|
}
|
|
|
|
public static String zzb(String str) {
|
|
if (str.isEmpty()) {
|
|
throw new IllegalArgumentException("identifier must not be empty");
|
|
}
|
|
if (!zzc(str.charAt(0))) {
|
|
throw new IllegalArgumentException("identifier must start with an ASCII letter: ".concat(str));
|
|
}
|
|
for (int i = 1; i < str.length(); i++) {
|
|
char charAt = str.charAt(i);
|
|
if (!zzc(charAt) && ((charAt < '0' || charAt > '9') && charAt != '_')) {
|
|
throw new IllegalArgumentException("identifier must contain only ASCII letters, digits or underscore: ".concat(str));
|
|
}
|
|
}
|
|
return str;
|
|
}
|
|
|
|
private static boolean zzc(char c) {
|
|
if (c < 'a' || c > 'z') {
|
|
return c >= 'A' && c <= 'Z';
|
|
}
|
|
return true;
|
|
}
|
|
}
|