Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 98546D50E for ; Fri, 7 Sep 2012 21:13:44 +0000 (UTC) Received: (qmail 17532 invoked by uid 500); 7 Sep 2012 21:13:44 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 17476 invoked by uid 500); 7 Sep 2012 21:13:44 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 17468 invoked by uid 99); 7 Sep 2012 21:13:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 21:13:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 21:13:43 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4695523888EA for ; Fri, 7 Sep 2012 21:13:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1382173 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/ListUtils.java Date: Fri, 07 Sep 2012 21:13:00 -0000 To: commits@commons.apache.org From: tn@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120907211300.4695523888EA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tn Date: Fri Sep 7 21:12:58 2012 New Revision: 1382173 URL: http://svn.apache.org/viewvc?rev=1382173&view=rev Log: Javadoc fixes. Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/ListUtils.java Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/ListUtils.java URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/ListUtils.java?rev=1382173&r1=1382172&r2=1382173&view=diff ============================================================================== --- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/ListUtils.java (original) +++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/ListUtils.java Fri Sep 7 21:12:58 2012 @@ -149,6 +149,7 @@ public class ListUtils { *

* A null predicate matches no elements. * + * @param the element type * @param inputCollection * the collection to get the input from, may not be null * @param predicate @@ -160,9 +161,9 @@ public class ListUtils { * @since 4.0 * @see CollectionUtils#select(Collection, Predicate) */ - public static List select(Collection inputCollection, - Predicate predicate) { - return CollectionUtils.select(inputCollection, predicate, new ArrayList(inputCollection.size())); + public static List select(Collection inputCollection, + Predicate predicate) { + return CollectionUtils.select(inputCollection, predicate, new ArrayList(inputCollection.size())); } /** @@ -172,6 +173,7 @@ public class ListUtils { * If the input predicate is null, the result is an empty * list. * + * @param the element type * @param inputCollection * the collection to get the input from, may not be null * @param predicate @@ -183,9 +185,9 @@ public class ListUtils { * @since 4.0 * @see CollectionUtils#selectRejected(Collection, Predicate) */ - public static List selectRejected(Collection inputCollection, - Predicate predicate) { - return CollectionUtils.selectRejected(inputCollection, predicate, new ArrayList(inputCollection.size())); + public static List selectRejected(Collection inputCollection, + Predicate predicate) { + return CollectionUtils.selectRejected(inputCollection, predicate, new ArrayList(inputCollection.size())); } /**