Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 48759 invoked from network); 19 Mar 2008 07:00:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2008 07:00:15 -0000 Received: (qmail 60871 invoked by uid 500); 19 Mar 2008 07:00:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 60804 invoked by uid 500); 19 Mar 2008 07:00:11 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 60795 invoked by uid 99); 19 Mar 2008 07:00:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2008 00:00:11 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2008 06:59:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4B1DB234C0A8 for ; Tue, 18 Mar 2008 23:58:25 -0700 (PDT) Message-ID: <815459272.1205909905306.JavaMail.jira@brutus> Date: Tue, 18 Mar 2008 23:58:25 -0700 (PDT) From: "Henri Yandell (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (COLLECTIONS-287) Null-safe Collections.size In-Reply-To: <1497993655.1205443344421.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COLLECTIONS-287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580255#action_12580255 ] Henri Yandell commented on COLLECTIONS-287: ------------------------------------------- Seems easy enough - add a patch and change the version to 3.3 :) > Null-safe Collections.size > -------------------------- > > Key: COLLECTIONS-287 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-287 > Project: Commons Collections > Issue Type: New Feature > Components: Collection > Affects Versions: 3.2 > Reporter: Paul Benedict > Priority: Minor > Fix For: 3.4 > > > It would be nice to retrieve the size of collections and not care whether the collection is null -- returning 0 otherwise. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.