Adopt HttpUrl's new Kotlin API

This commit is contained in:
Jesse Wilson
2019-05-20 21:01:04 -04:00
parent f4655995ca
commit e67ec3c51e
18 changed files with 64 additions and 64 deletions

View File

@@ -309,7 +309,7 @@ class DnsOverHttps internal constructor(builder: Builder) : Dns {
val hosts = builder.bootstrapDnsHosts
return if (hosts != null) {
BootstrapDns(builder.url!!.host(), hosts)
BootstrapDns(builder.url!!.host, hosts)
} else {
builder.systemDns
}