summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChalard Jean <jchalard@google.com>2021-04-05 16:33:26 +0900
committerChalard Jean <jchalard@google.com>2021-04-05 16:34:18 +0900
commit0a215c0ba6c0dee5ef9de471388d3de88d79a382 (patch)
treec9938bb78ed939604444b57c6368b2e6bdd5bf49 /common
parentf1e182b5f8654d55c08bf4dda2dc21f7201f97d4 (diff)
downloadnet-0a215c0ba6c0dee5ef9de471388d3de88d79a382.tar.gz
Make a utility function public.
...oops ? Test: m Change-Id: Ic8f4e7ef430a6fa49f8a477f9d48267b889b83ed
Diffstat (limited to 'common')
-rw-r--r--common/framework/com/android/net/module/util/CollectionUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/framework/com/android/net/module/util/CollectionUtils.java b/common/framework/com/android/net/module/util/CollectionUtils.java
index f2afc757..4fce8f50 100644
--- a/common/framework/com/android/net/module/util/CollectionUtils.java
+++ b/common/framework/com/android/net/module/util/CollectionUtils.java
@@ -156,7 +156,7 @@ public final class CollectionUtils {
* @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) {