what-the-bank/sources/okhttp3/internal/cache/DiskLruCache$newJournalWrit...

43 lines
1.6 KiB
Java

package okhttp3.internal.cache;
import java.io.IOException;
import o.AbstractC14961gcz;
import o.C14866gag;
import o.C14957gcv;
import o.InterfaceC14894gbR;
import okhttp3.internal.Util;
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class DiskLruCache$newJournalWriter$faultHidingSink$1 extends AbstractC14961gcz implements InterfaceC14894gbR<IOException, C14866gag> {
final DiskLruCache this$0;
@Override // o.InterfaceC14894gbR
public final /* bridge */ /* synthetic */ C14866gag invoke(IOException iOException) {
invoke2(iOException);
return C14866gag.c;
}
/* renamed from: invoke, reason: avoid collision after fix types in other method */
public final void invoke2(IOException iOException) {
C14957gcv.e(iOException, "");
DiskLruCache diskLruCache = this.this$0;
if (!Util.assertionsEnabled || Thread.holdsLock(diskLruCache)) {
DiskLruCache.access$setHasJournalErrors$p(this.this$0, true);
return;
}
StringBuilder sb = new StringBuilder("Thread ");
sb.append((Object) Thread.currentThread().getName());
sb.append(" MUST hold lock on ");
sb.append(diskLruCache);
throw new AssertionError(sb.toString());
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public DiskLruCache$newJournalWriter$faultHidingSink$1(DiskLruCache diskLruCache) {
super(1);
this.this$0 = diskLruCache;
}
}