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:
parent
ef70de545e
commit
ace5ba00f7
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue