Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5E0010601 for ; Fri, 27 Feb 2015 20:50:09 +0000 (UTC) Received: (qmail 31286 invoked by uid 500); 27 Feb 2015 20:50:04 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 31233 invoked by uid 500); 27 Feb 2015 20:50:04 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 31216 invoked by uid 99); 27 Feb 2015 20:50:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2015 20:50:04 +0000 Date: Fri, 27 Feb 2015 20:50:04 +0000 (UTC) From: "Michael Osipov (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1621) Possible NPE/incorrect type in HttpClientBuilder#evictIdleConnections MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340786#comment-14340786 ] Michael Osipov commented on HTTPCLIENT-1621: -------------------------------------------- Clarified, thanks. I will proceed in 4.5. > 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.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: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org