ok2c commented on code in PR #598:
URL: 
https://github.com/apache/httpcomponents-client/pull/598#discussion_r1844975011


##########
httpclient5/src/main/java/org/apache/hc/client5/http/impl/nio/MultihomeIOSessionRequester.java:
##########
@@ -129,7 +129,7 @@ public void cancelled() {
 
             void executeNext() {
                 final int index = attempt.getAndIncrement();
-                final InetSocketAddress remoteAddress = new 
InetSocketAddress(remoteAddresses[index], remoteEndpoint.getPort());
+                final InetSocketAddress remoteAddress = (InetSocketAddress) 
remoteAddresses.get(index);

Review Comment:
   @arturobernalg I suppose this cast is no longer needed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to