diff options
| author | 2021-01-29 02:47:00 +0000 | |
|---|---|---|
| committer | 2021-01-29 02:47:00 +0000 | |
| commit | 6a5d57c2ee14d456089db016160996104cddfabc (patch) | |
| tree | 0fea8082b6c7d91a441d5bdc32fd3b85588af416 | |
| parent | ac165ae86d257dc4f3b8425fd3724f18973839e4 (diff) | |
| parent | 63ff5c3b51371bc4002a4979d3df4e5f2e85cd43 (diff) | |
Merge "Remove unused method from MatchAllNetworkSpecifier"
| -rw-r--r-- | core/java/android/net/MatchAllNetworkSpecifier.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/java/android/net/MatchAllNetworkSpecifier.java b/core/java/android/net/MatchAllNetworkSpecifier.java index 70c4a7235b9d..011a04c26137 100644 --- a/core/java/android/net/MatchAllNetworkSpecifier.java +++ b/core/java/android/net/MatchAllNetworkSpecifier.java @@ -31,17 +31,6 @@ import android.os.Parcelable; */ @SystemApi public final class MatchAllNetworkSpecifier extends NetworkSpecifier implements Parcelable { - /** - * Utility method which verifies that the ns argument is not a MatchAllNetworkSpecifier and - * throws an IllegalArgumentException if it is. - * @hide - */ - public static void checkNotMatchAllNetworkSpecifier(NetworkSpecifier ns) { - if (ns instanceof MatchAllNetworkSpecifier) { - throw new IllegalArgumentException("A MatchAllNetworkSpecifier is not permitted"); - } - } - /** @hide */ @Override public boolean canBeSatisfiedBy(NetworkSpecifier other) { |