Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14DE0EE17 for ; Sun, 17 Mar 2013 19:47:15 +0000 (UTC) Received: (qmail 45779 invoked by uid 500); 17 Mar 2013 19:47:14 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 45697 invoked by uid 500); 17 Mar 2013 19:47:14 -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 45400 invoked by uid 99); 17 Mar 2013 19:47:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Mar 2013 19:47:14 +0000 Date: Sun, 17 Mar 2013 19:47:14 +0000 (UTC) From: "Thomas Neidhart (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (COLLECTIONS-430) Create static factory methods for concrete data structure impls in the corresponding Utils classes 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-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Neidhart updated COLLECTIONS-430: ---------------------------------------- Fix Version/s: 4.0 > Create static factory methods for concrete data structure impls in the corresponding Utils classes > -------------------------------------------------------------------------------------------------- > > Key: COLLECTIONS-430 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-430 > Project: Commons Collections > Issue Type: Improvement > Affects Versions: 4.0 > Reporter: Thomas Neidhart > Fix For: 4.0 > > > It is quite tedious to write code like this: > {noformat} > BidiMap map = new DualHashBidiMap(); > {noformat} > a more convenient way would be to take advantage from type inference like this: > {noformat} > BidiMap map = MapUtils.newHashBidiMap(); > {noformat} > This would apply basically for all data structures that are available in CC atm. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira