what-the-bank/sources/o/C15118ghg.java

47 lines
1.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* renamed from: o.ghg, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C15118ghg {
public static final long a(String str, long j, long j2, long j3) {
String e = C15124ghm.e(str);
if (e == null) {
return j;
}
C14957gcv.e(e, "");
Long i = gdZ.i(e);
if (i == null) {
StringBuilder sb = new StringBuilder("System property '");
sb.append(str);
sb.append("' has unrecognized value '");
sb.append(e);
sb.append('\'');
throw new IllegalStateException(sb.toString().toString());
}
long longValue = i.longValue();
if (j2 <= longValue && longValue <= j3) {
return longValue;
}
StringBuilder sb2 = new StringBuilder("System property '");
sb2.append(str);
sb2.append("' should be in range ");
sb2.append(j2);
sb2.append("..");
sb2.append(j3);
sb2.append(", but is '");
sb2.append(longValue);
sb2.append('\'');
throw new IllegalStateException(sb2.toString().toString());
}
public static /* synthetic */ int e(String str, int i, int i2, int i3, int i4) {
if ((i4 & 4) != 0) {
i2 = 1;
}
if ((i4 & 8) != 0) {
i3 = Integer.MAX_VALUE;
}
return (int) a(str, i, i2, i3);
}
}