Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 60721 invoked from network); 17 May 2008 15:24:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 May 2008 15:24:27 -0000 Received: (qmail 83802 invoked by uid 500); 17 May 2008 15:24:22 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 83703 invoked by uid 500); 17 May 2008 15:24:22 -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 83692 invoked by uid 99); 17 May 2008 15:24:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 May 2008 08:24:22 -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; Sat, 17 May 2008 15:23:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B40B5234C11A for ; Sat, 17 May 2008 08:23:55 -0700 (PDT) Message-ID: <983196145.1211037835736.JavaMail.jira@brutus> Date: Sat, 17 May 2008 08:23:55 -0700 (PDT) From: "Benjamin Bentmann (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (COLLECTIONS-298) CollectionUtils.sizeIsEmpty(null) should return true In-Reply-To: <650501678.1211037835703.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-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Bentmann updated COLLECTIONS-298: ------------------------------------------ Attachment: (was: COLLECTION-298.patch) > CollectionUtils.sizeIsEmpty(null) should return true > ---------------------------------------------------- > > Key: COLLECTIONS-298 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-298 > Project: Commons Collections > Issue Type: Wish > Components: Collection > Affects Versions: 3.2 > Reporter: Benjamin Bentmann > Priority: Minor > > The API would look inconsistent if > - CollectionUtils.isEmpty(null) == true > - CollectionUtils.size(null) == 0 > but > - CollectionUtils.sizeIsEmpty(null) throws IAE -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.