- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
22 lines
562 B
Java
22 lines
562 B
Java
package kotlin.io;
|
|
|
|
import java.io.Closeable;
|
|
import kotlin.ExceptionsKt__ExceptionsKt;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public abstract class CloseableKt {
|
|
public static final void closeFinally(Closeable closeable, Throwable th) {
|
|
if (closeable != null) {
|
|
if (th == null) {
|
|
closeable.close();
|
|
return;
|
|
}
|
|
try {
|
|
closeable.close();
|
|
} catch (Throwable th2) {
|
|
ExceptionsKt__ExceptionsKt.addSuppressed(th, th2);
|
|
}
|
|
}
|
|
}
|
|
}
|