mirror of
https://github.com/apache/commons-collections.git
synced 2025-03-02 23:09:29 +00:00
Add missing @Deprecated annotations
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815431 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
40a3bb8221
commit
f260eb5dc4
@ -117,6 +117,7 @@ public class PredicateUtils {
|
|||||||
* @return the predicate
|
* @return the predicate
|
||||||
* @deprecated use {@link FalsePredicate#()} instead.
|
* @deprecated use {@link FalsePredicate#()} instead.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static <T> Predicate<T> falsePredicate() {
|
public static <T> Predicate<T> falsePredicate() {
|
||||||
return FalsePredicate.<T>getInstance();
|
return FalsePredicate.<T>getInstance();
|
||||||
}
|
}
|
||||||
|
@ -60,6 +60,7 @@ public final class AllPredicate<T> implements Predicate<T>, PredicateDecorator<T
|
|||||||
* @throws IllegalArgumentException if any predicate in the array is null
|
* @throws IllegalArgumentException if any predicate in the array is null
|
||||||
* @deprecated Use {@link #allPredicate(Predicate<? super T>...)} instead
|
* @deprecated Use {@link #allPredicate(Predicate<? super T>...)} instead
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static <T> Predicate<T> getInstance(Predicate<? super T> ... predicates) {
|
public static <T> Predicate<T> getInstance(Predicate<? super T> ... predicates) {
|
||||||
return allPredicate(predicates);
|
return allPredicate(predicates);
|
||||||
}
|
}
|
||||||
@ -99,6 +100,7 @@ public final class AllPredicate<T> implements Predicate<T>, PredicateDecorator<T
|
|||||||
* @throws IllegalArgumentException if any predicate in the array is null
|
* @throws IllegalArgumentException if any predicate in the array is null
|
||||||
* @deprecated Use {@link #allPredicate(Collection<Predicate<? super T>>)} instead
|
* @deprecated Use {@link #allPredicate(Collection<Predicate<? super T>>)} instead
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static <T> Predicate<T> getInstance(Collection<Predicate<T>> predicates) {
|
public static <T> Predicate<T> getInstance(Collection<Predicate<T>> predicates) {
|
||||||
return allPredicate(predicates);
|
return allPredicate(predicates);
|
||||||
}
|
}
|
||||||
|
@ -43,6 +43,7 @@ public final class FalsePredicate<T> implements Predicate<T>, Serializable {
|
|||||||
* @since Commons Collections 3.1
|
* @since Commons Collections 3.1
|
||||||
* @deprecated use {@link #falsePredicate()} instead.
|
* @deprecated use {@link #falsePredicate()} instead.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static <T> Predicate<T> getInstance() {
|
public static <T> Predicate<T> getInstance() {
|
||||||
return FalsePredicate.<T>falsePredicate();
|
return FalsePredicate.<T>falsePredicate();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user