80 lines
2.0 KiB
Smali
80 lines
2.0 KiB
Smali
.class final Lcom/google/common/io/Closer$LoggingSuppressor;
|
|
.super Ljava/lang/Object;
|
|
.source "Closer.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/common/io/Closer$Suppressor;
|
|
|
|
|
|
# annotations
|
|
.annotation build Lcom/google/common/annotations/VisibleForTesting;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/common/io/Closer;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "LoggingSuppressor"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final INSTANCE:Lcom/google/common/io/Closer$LoggingSuppressor;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/google/common/io/Closer$LoggingSuppressor;
|
|
|
|
invoke-direct {v0}, Lcom/google/common/io/Closer$LoggingSuppressor;-><init>()V
|
|
|
|
sput-object v0, Lcom/google/common/io/Closer$LoggingSuppressor;->INSTANCE:Lcom/google/common/io/Closer$LoggingSuppressor;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public suppress(Ljava/io/Closeable;Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
sget-object p2, Lcom/google/common/io/Closeables;->logger:Ljava/util/logging/Logger;
|
|
|
|
sget-object v0, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;
|
|
|
|
invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
add-int/lit8 v1, v1, 0x2a
|
|
|
|
const-string v2, "Suppressing exception thrown when closing "
|
|
|
|
invoke-static {v1, v2, p1}, Lcom/android/billingclient/api/e;->a(ILjava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2, v0, p1, p3}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|