1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-24 18:41:06 +03:00

Code cleanup and imports (#6822)

This commit is contained in:
Goooler
2021-08-03 19:52:10 +08:00
committed by GitHub
parent 2b5c294c49
commit cc3ce11fc4
22 changed files with 58 additions and 96 deletions

View File

@@ -43,7 +43,7 @@ class FakeDns : Dns {
hostname: String,
index: Int
): InetAddress {
return hostAddresses[hostname]!!.get(index)
return hostAddresses[hostname]!![index]
}
@Throws(UnknownHostException::class)