commit | 43a56e3c3a59beb80c15302c002adca049637926 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Tue Apr 06 08:56:04 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Apr 06 08:56:04 2021 +0000 |
tree | 715134652dc3026487846b7434b06a3ebd3e8563 | |
parent | 9b6b1f9819182dcbf1095fc9a1c0287ed94021f4 [diff] | |
parent | c0d49afba21a894b65d4d93b84117c9a23ed507e [diff] |
Merge "Make a utility function public." am: a2d81a0e97 am: 5829303877 Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/net/+/1664087 Change-Id: I94248340c1c19ec02b1be8d1c1697b3bbeb66311
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) {