[
https://issues.apache.org/jira/browse/HTTPCLIENT-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb resolved HTTPCLIENT-1033.
------------------------------
Resolution: Fixed
OK, applied
> HttpRoute.equals(Object o) is quite inefficient, as it does not take full
> advantage of shortcut logic
> -----------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1033
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1033
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpConn
> Affects Versions: 4.1 Beta1
> Reporter: Sebb
> Attachments: HTTPCORE-248.patch
>
>
> HttpRoute.equals(Object o) is quite inefficient, as it does not take full
> advantage of shortcut logic.
> It should return as soon as the first false is detected.
> Patch to follow implements short-circuit checking.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]