From 0a215c0ba6c0dee5ef9de471388d3de88d79a382 Mon Sep 17 00:00:00 2001 From: Chalard Jean Date: Mon, 5 Apr 2021 16:33:26 +0900 Subject: Make a utility function public. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ...oops ? Test: m Change-Id: Ic8f4e7ef430a6fa49f8a477f9d48267b889b83ed --- common/framework/com/android/net/module/util/CollectionUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') 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 ArrayList filter(@NonNull final Collection source, + @NonNull public static ArrayList filter(@NonNull final Collection source, @NonNull final Predicate test) { final ArrayList matches = new ArrayList<>(); for (final T e : source) { -- cgit v1.2.3