mirror of
https://github.com/square/okhttp.git
synced 2025-07-31 05:04:26 +03:00
Replace !isEmpty with isNotEmpty
This commit is contained in:
@ -103,7 +103,7 @@ class DnsOverHttps internal constructor(builder: Builder) : Dns {
|
||||
|
||||
executeRequests(hostname, networkRequests, results, failures)
|
||||
|
||||
return if (!results.isEmpty()) {
|
||||
return if (results.isNotEmpty()) {
|
||||
results
|
||||
} else {
|
||||
throwBestFailure(hostname, failures)
|
||||
|
Reference in New Issue
Block a user