commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1479340 - in /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors: AbstractQuantifierPredicate.java AllPredicate.java AnyPredicate.java NonePredicate.java OnePredicate.java
Date Sun, 05 May 2013 15:37:42 GMT
Author: tn
Date: Sun May  5 15:37:41 2013
New Revision: 1479340

URL: http://svn.apache.org/r1479340
Log:
Use varargs parameter instead of array.

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AbstractQuantifierPredicate.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AllPredicate.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AnyPredicate.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NonePredicate.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/OnePredicate.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AbstractQuantifierPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AbstractQuantifierPredicate.java?rev=1479340&r1=1479339&r2=1479340&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AbstractQuantifierPredicate.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AbstractQuantifierPredicate.java
Sun May  5 15:37:41 2013
@@ -39,7 +39,7 @@ public abstract class AbstractQuantifier
      *
      * @param predicates  the predicates to check, not cloned, not null
      */
-    public AbstractQuantifierPredicate(final Predicate<? super T> ... predicates) {
+    public AbstractQuantifierPredicate(final Predicate<? super T>... predicates) {
         iPredicates = predicates;
     }
 

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AllPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AllPredicate.java?rev=1479340&r1=1479339&r2=1479340&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AllPredicate.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AllPredicate.java
Sun May  5 15:37:41 2013
@@ -53,7 +53,7 @@ public final class AllPredicate<T> exten
      * @throws IllegalArgumentException if the predicates array is null
      * @throws IllegalArgumentException if any predicate in the array is null
      */
-    public static <T> Predicate<T> allPredicate(final Predicate<? super T>
... predicates) {
+    public static <T> Predicate<T> allPredicate(final Predicate<? super T>...
predicates) {
         FunctorUtils.validate(predicates);
         if (predicates.length == 0) {
             return truePredicate();
@@ -94,7 +94,7 @@ public final class AllPredicate<T> exten
      *
      * @param predicates  the predicates to check, not cloned, not null
      */
-    public AllPredicate(final Predicate<? super T> ... predicates) {
+    public AllPredicate(final Predicate<? super T>... predicates) {
         super(predicates);
     }
 

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AnyPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AnyPredicate.java?rev=1479340&r1=1479339&r2=1479340&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AnyPredicate.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/AnyPredicate.java
Sun May  5 15:37:41 2013
@@ -91,7 +91,7 @@ public final class AnyPredicate<T> exten
      *
      * @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);
     }
 

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NonePredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NonePredicate.java?rev=1479340&r1=1479339&r2=1479340&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NonePredicate.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/NonePredicate.java
Sun May  5 15:37:41 2013
@@ -81,7 +81,7 @@ public final class NonePredicate<T> exte
      *
      * @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);
     }
 

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/OnePredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/OnePredicate.java?rev=1479340&r1=1479339&r2=1479340&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/OnePredicate.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/functors/OnePredicate.java
Sun May  5 15:37:41 2013
@@ -81,7 +81,7 @@ public final class OnePredicate<T> exten
      *
      * @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);
     }
 



Mime
View raw message