[
https://issues.apache.org/jira/browse/HTTPCLIENT-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340687#comment-14340687
]
Michael Osipov edited comment on HTTPCLIENT-1621 at 2/27/15 8:00 PM:
---------------------------------------------------------------------
Sebastian, thanks for sharing. So your recommendation is to change in 4.5 only
and add it to the release notes?
The alternative would be to deprecate the whole method and create a new one
with a primitive value. Though, this seems a bit overdesigned. WDYT?
Another question arises: Who is going to upgrade HttpClient without recompiling
his project?
Here is a read [about|http://stackoverflow.com/q/9714057/696632] that.
was (Author: michael-o):
Sebastian, thanks for sharing. So your recommendation is to change in 4.5 only
and add it to the release notes?
The alternative would be to deprecate the whole method and create a new one
with a primitive value. Though, this seems a bit overdesigned. WDYT?
Another question arises, how is going to upgrade HttpClient without recompiling
his project?
> Possible NPE/incorrect type in HttpClientBuilder#evictIdleConnections
> ---------------------------------------------------------------------
>
> Key: HTTPCLIENT-1621
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1621
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.4 Final
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Fix For: 4.4.1, 4.5 Alpha1
>
>
> The method accepts a {{Long}} as first arg and not {{long}} (simple type).
> This might lead to an NPE.
> I think this is also safe to fix for 4.4.x because due to autoboxing this
> would be transparent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]