commit | c0d49afba21a894b65d4d93b84117c9a23ed507e | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Mon Apr 05 16:33:26 2021 +0900 |
committer | Chalard Jean <jchalard@google.com> | Mon Apr 05 16:34:18 2021 +0900 |
tree | 715134652dc3026487846b7434b06a3ebd3e8563 | |
parent | 9db4048e07c454387d88965b8b778a32b69befbd [diff] |
Make a utility function public. ...oops ? Test: m Change-Id: Ic8f4e7ef430a6fa49f8a477f9d48267b889b83ed
diff --git a/staticlibs/framework/com/android/net/module/util/CollectionUtils.java b/staticlibs/framework/com/android/net/module/util/CollectionUtils.java index f2afc75..4fce8f5 100644 --- a/staticlibs/framework/com/android/net/module/util/CollectionUtils.java +++ b/staticlibs/framework/com/android/net/module/util/CollectionUtils.java
@@ -156,7 +156,7 @@ * @param test the predicate to test for. * @return a new collection containing only the source elements that satisfy the predicate. */ - @NonNull private static <T> ArrayList<T> filter(@NonNull final Collection<T> source, + @NonNull public static <T> ArrayList<T> filter(@NonNull final Collection<T> source, @NonNull final Predicate<T> test) { final ArrayList<T> matches = new ArrayList<>(); for (final T e : source) {