commit | 6f20c2dc80a967cfc621cf89f05c2b3fca51948e | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Tue Apr 06 09:22:24 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Apr 06 09:22:24 2021 +0000 |
tree | 56c63a0f9b02996d5205aeec2995a58255a2a9b7 | |
parent | 028fdb49f1a2aeb3d3fe63629061a6e8593b11fc [diff] | |
parent | 43a56e3c3a59beb80c15302c002adca049637926 [diff] |
Merge "Make a utility function public." am: a2d81a0e97 am: 5829303877 am: 3051194ba8 Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/net/+/1664087 Change-Id: I709c95e31128994db2d72868d133324e4d55ce9d
diff --git a/staticlibs/framework/com/android/net/module/util/CollectionUtils.java b/staticlibs/framework/com/android/net/module/util/CollectionUtils.java index a62a0bc..0696cca 100644 --- a/staticlibs/framework/com/android/net/module/util/CollectionUtils.java +++ b/staticlibs/framework/com/android/net/module/util/CollectionUtils.java
@@ -157,7 +157,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) {