From 6b5042cb52cea6b28c1e626bfb3625db61c637b2 Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Mon, 21 Jan 2013 20:41:58 +0000 Subject: [PATCH] Fix compilation problems with OpenJDK 1.6.0_24. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1436601 13f79535-47bb-0310-9956-ffa450edef68 --- .../collections/functors/AbstractQuantifierPredicate.java | 2 +- .../apache/commons/collections/functors/ChainedClosure.java | 2 +- .../commons/collections/functors/ChainedTransformer.java | 2 +- .../apache/commons/collections/functors/SwitchClosure.java | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/apache/commons/collections/functors/AbstractQuantifierPredicate.java b/src/main/java/org/apache/commons/collections/functors/AbstractQuantifierPredicate.java index 1f34c9f30..ec63decf2 100644 --- a/src/main/java/org/apache/commons/collections/functors/AbstractQuantifierPredicate.java +++ b/src/main/java/org/apache/commons/collections/functors/AbstractQuantifierPredicate.java @@ -51,7 +51,7 @@ public abstract class AbstractQuantifierPredicate implements Predicate, Pr * @since 3.1 */ public Predicate[] getPredicates() { - return FunctorUtils.copy(iPredicates); + return FunctorUtils.copy(iPredicates); } } diff --git a/src/main/java/org/apache/commons/collections/functors/ChainedClosure.java b/src/main/java/org/apache/commons/collections/functors/ChainedClosure.java index 78754e236..8d2e7871c 100644 --- a/src/main/java/org/apache/commons/collections/functors/ChainedClosure.java +++ b/src/main/java/org/apache/commons/collections/functors/ChainedClosure.java @@ -110,7 +110,7 @@ public class ChainedClosure implements Closure, Serializable { * @since 3.1 */ public Closure[] getClosures() { - return FunctorUtils.copy(iClosures); + return FunctorUtils.copy(iClosures); } } diff --git a/src/main/java/org/apache/commons/collections/functors/ChainedTransformer.java b/src/main/java/org/apache/commons/collections/functors/ChainedTransformer.java index 2c733b09e..7a14a7fe3 100644 --- a/src/main/java/org/apache/commons/collections/functors/ChainedTransformer.java +++ b/src/main/java/org/apache/commons/collections/functors/ChainedTransformer.java @@ -111,7 +111,7 @@ public class ChainedTransformer implements Transformer, Serializable { * @since 3.1 */ public Transformer[] getTransformers() { - return FunctorUtils.copy(iTransformers); + return FunctorUtils.copy(iTransformers); } } diff --git a/src/main/java/org/apache/commons/collections/functors/SwitchClosure.java b/src/main/java/org/apache/commons/collections/functors/SwitchClosure.java index 058993bc9..36abf8d95 100644 --- a/src/main/java/org/apache/commons/collections/functors/SwitchClosure.java +++ b/src/main/java/org/apache/commons/collections/functors/SwitchClosure.java @@ -146,7 +146,7 @@ public class SwitchClosure implements Closure, Serializable { * @since 3.1 */ public Predicate[] getPredicates() { - return FunctorUtils.copy(iPredicates); + return FunctorUtils.copy(iPredicates); } /** @@ -156,7 +156,7 @@ public class SwitchClosure implements Closure, Serializable { * @since 3.1 */ public Closure[] getClosures() { - return FunctorUtils.copy(iClosures); + return FunctorUtils.copy(iClosures); } /**