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

39 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
/* loaded from: classes2.dex */
public final class tQU implements NBc {
private static final Object a = new Object();
private volatile Object c = a;
private volatile NBc d;
@Override // o.NBc
public final Object b() {
Object obj = this.c;
Object obj2 = a;
if (obj == obj2) {
synchronized (this) {
obj = this.c;
if (obj == obj2) {
obj = this.d.b();
Object obj3 = this.c;
if (obj3 != obj2 && obj3 != obj) {
StringBuilder sb = new StringBuilder("Scoped provider was invoked recursively returning different results: ");
sb.append(obj3);
sb.append(" & ");
sb.append(obj);
sb.append(". This is likely due to a circular dependency.");
throw new IllegalStateException(sb.toString());
}
this.c = obj;
this.d = null;
}
}
}
return obj;
}
public tQU(NBc nBc) {
this.d = nBc;
}
}