Merge "Extra generic type information to aid certain javacs."

This commit is contained in:
Ian Rogers
2016-03-16 15:41:35 +00:00
committed by Gerrit Code Review

View File

@@ -33,7 +33,7 @@ public class Predicates {
* will be "short-circuited" as soon as the answer is determined.
*/
public static <T> Predicate<T> and(Predicate<? super T>... components) {
return and(Arrays.asList(components));
return Predicates.<T>and(Arrays.asList(components));
}
/**
@@ -54,7 +54,7 @@ public class Predicates {
* will be "short-circuited" as soon as the answer is determined.
*/
public static <T> Predicate<T> or(Predicate<? super T>... components) {
return or(Arrays.asList(components));
return Predicates.<T>or(Arrays.asList(components));
}
/**