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
This commit is contained in:
parent
3712f1a147
commit
6b5042cb52
|
@ -51,7 +51,7 @@ public abstract class AbstractQuantifierPredicate<T> implements Predicate<T>, Pr
|
|||
* @since 3.1
|
||||
*/
|
||||
public Predicate<? super T>[] getPredicates() {
|
||||
return FunctorUtils.copy(iPredicates);
|
||||
return FunctorUtils.<T>copy(iPredicates);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -110,7 +110,7 @@ public class ChainedClosure<E> implements Closure<E>, Serializable {
|
|||
* @since 3.1
|
||||
*/
|
||||
public Closure<? super E>[] getClosures() {
|
||||
return FunctorUtils.copy(iClosures);
|
||||
return FunctorUtils.<E>copy(iClosures);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -111,7 +111,7 @@ public class ChainedTransformer<T> implements Transformer<T, T>, Serializable {
|
|||
* @since 3.1
|
||||
*/
|
||||
public Transformer<? super T, ? extends T>[] getTransformers() {
|
||||
return FunctorUtils.copy(iTransformers);
|
||||
return FunctorUtils.<T, T>copy(iTransformers);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -146,7 +146,7 @@ public class SwitchClosure<E> implements Closure<E>, Serializable {
|
|||
* @since 3.1
|
||||
*/
|
||||
public Predicate<? super E>[] getPredicates() {
|
||||
return FunctorUtils.copy(iPredicates);
|
||||
return FunctorUtils.<E>copy(iPredicates);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -156,7 +156,7 @@ public class SwitchClosure<E> implements Closure<E>, Serializable {
|
|||
* @since 3.1
|
||||
*/
|
||||
public Closure<? super E>[] getClosures() {
|
||||
return FunctorUtils.copy(iClosures);
|
||||
return FunctorUtils.<E>copy(iClosures);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue