Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 65871 invoked from network); 4 Feb 2011 15:28:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2011 15:28:53 -0000 Received: (qmail 41107 invoked by uid 500); 4 Feb 2011 15:28:53 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 40747 invoked by uid 500); 4 Feb 2011 15:28:51 -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 40739 invoked by uid 99); 4 Feb 2011 15:28:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 15:28:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 15:28:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F326D18E1E4 for ; Fri, 4 Feb 2011 15:28:28 +0000 (UTC) Date: Fri, 4 Feb 2011 15:28:28 +0000 (UTC) From: "Matt Benson (JIRA)" To: issues@commons.apache.org Message-ID: <1636584468.276.1296833308992.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <25102097.35271293483527680.JavaMail.jira@thor> Subject: [jira] Resolved: (COLLECTIONS-368) New method in ListUtils to create Lists populated with var-args elements 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/COLLECTIONS-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Benson resolved COLLECTIONS-368. ------------------------------------- Resolution: Invalid +1 to Simone's comment, works for me > New method in ListUtils to create Lists populated with var-args elements > ------------------------------------------------------------------------ > > Key: COLLECTIONS-368 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-368 > Project: Commons Collections > Issue Type: New Feature > Components: List > Reporter: Henrik Segesten > Priority: Minor > Attachments: addcreatelist.patch > > > Sometimes it is very useful to be able to create new and populate List objects in the same way that can be done with arrays by using the braces initialisation. My patch is an implementation of this for ListUtils with corresponding unit tests. Hoping for inclusion as soon as possible. Any comments are welcome. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira