Use varargs parameter instead of array.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479340 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-05-05 15:37:41 +00:00
parent ef70de545e
commit ace5ba00f7
5 changed files with 6 additions and 6 deletions

View File

@ -91,7 +91,7 @@ public final class AnyPredicate<T> extends AbstractQuantifierPredicate<T> implem
* *
* @param predicates the predicates to check, not cloned, not null * @param predicates the predicates to check, not cloned, not null
*/ */
public AnyPredicate(final Predicate<? super T>[] predicates) { public AnyPredicate(final Predicate<? super T>... predicates) {
super(predicates); super(predicates);
} }

View File

@ -81,7 +81,7 @@ public final class NonePredicate<T> extends AbstractQuantifierPredicate<T> imple
* *
* @param predicates the predicates to check, not cloned, not null * @param predicates the predicates to check, not cloned, not null
*/ */
public NonePredicate(final Predicate<? super T>[] predicates) { public NonePredicate(final Predicate<? super T>... predicates) {
super(predicates); super(predicates);
} }

View File

@ -81,7 +81,7 @@ public final class OnePredicate<T> extends AbstractQuantifierPredicate<T> implem
* *
* @param predicates the predicates to check, not cloned, not null * @param predicates the predicates to check, not cloned, not null
*/ */
public OnePredicate(final Predicate<? super T>[] predicates) { public OnePredicate(final Predicate<? super T>... predicates) {
super(predicates); super(predicates);
} }