40 lines
1.3 KiB
Java
40 lines
1.3 KiB
Java
|
package o;
|
||
|
|
||
|
/* renamed from: o.JPy, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class C0541JPy implements InterfaceC16020kYA {
|
||
|
private static final Object a = new Object();
|
||
|
private volatile Object b = a;
|
||
|
private volatile InterfaceC16020kYA c;
|
||
|
|
||
|
@Override // o.InterfaceC16020kYA
|
||
|
public final Object e() {
|
||
|
Object obj = this.b;
|
||
|
Object obj2 = a;
|
||
|
if (obj == obj2) {
|
||
|
synchronized (this) {
|
||
|
obj = this.b;
|
||
|
if (obj == obj2) {
|
||
|
obj = this.c.e();
|
||
|
Object obj3 = this.b;
|
||
|
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.b = obj;
|
||
|
this.c = null;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
return obj;
|
||
|
}
|
||
|
|
||
|
public C0541JPy(InterfaceC16020kYA interfaceC16020kYA) {
|
||
|
this.c = interfaceC16020kYA;
|
||
|
}
|
||
|
}
|