今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.4 KiB

.class final Lokhttp3/Dns$1;
.super Ljava/lang/Object;
.source "Dns.java"
# interfaces
.implements Lokhttp3/Dns;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lokhttp3/Dns;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# direct methods
.method constructor <init>()V
.locals 0
.prologue
.line 36
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public lookup(Ljava/lang/String;)Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")",
"Ljava/util/List",
"<",
"Ljava/net/InetAddress;",
">;"
}
.end annotation
.prologue
.line 38
if-nez p1, :cond_0
new-instance v0, Ljava/net/UnknownHostException;
const-string v1, "hostname == null"
invoke-direct {v0, v1}, Ljava/net/UnknownHostException;-><init>(Ljava/lang/String;)V
throw v0
.line 39
:cond_0
invoke-static {p1}, Ljava/net/InetAddress;->getAllByName(Ljava/lang/String;)[Ljava/net/InetAddress;
move-result-object v0
invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object v0
return-object v0
.end method