1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-14 07:22:20 +03:00

Remove always-false check of retryCurrentRoute() and unreachable code.

This commit is contained in:
Kai Zhu
2020-01-31 19:42:52 +08:00
parent 0604f39573
commit 5f94756dd2

View File

@@ -174,8 +174,6 @@ class ExchangeFinder(
} else if (nextRouteToTry != null) {
selectedRoute = nextRouteToTry
nextRouteToTry = null
} else if (retryCurrentRoute()) {
selectedRoute = call.connection!!.route()
}
}
}