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 E7CE1CA30 for ; Thu, 1 Jan 2015 21:17:12 +0000 (UTC) Received: (qmail 34444 invoked by uid 500); 1 Jan 2015 21:17:13 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 34338 invoked by uid 500); 1 Jan 2015 21:17:13 -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 34325 invoked by uid 99); 1 Jan 2015 21:17:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jan 2015 21:17:13 +0000 Date: Thu, 1 Jan 2015 21:17:13 +0000 (UTC) From: "Thomas Neidhart (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (COLLECTIONS-517) [Collection|List]Utils.[intersection|union] should accept vararg parameters 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-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Neidhart updated COLLECTIONS-517: ---------------------------------------- Fix Version/s: 4.1 > [Collection|List]Utils.[intersection|union] should accept vararg parameters > --------------------------------------------------------------------------- > > Key: COLLECTIONS-517 > URL: https://issues.apache.org/jira/browse/COLLECTIONS-517 > Project: Commons Collections > Issue Type: Improvement > Components: Collection, List > Affects Versions: 4.0 > Reporter: Hollis Waite > Priority: Minor > Fix For: 4.1 > > Attachments: COLLECTIONS-517.patch > > > Would be convenient if intersection/union methods accepted arbitrary number of arguments. Two-arg methods could be retained in order to avoid compiler warnings (https://issues.apache.org/jira/browse/COLLECTIONS-481?focusedCommentId=13762173&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13762173). Alternatively, method could be overloaded to accept a single Iterable of Lists/Sets. I could create a patch for this if it's deemed worthwhile. -- This message was sent by Atlassian JIRA (v6.3.4#6332)