Remove @Nullable from byte
Primitive types can't be null.
Change-Id: Idc2a30b1faae69213bc3bd7262f72d4ec23e1c40
Test: m
diff --git a/staticlibs/framework/com/android/net/module/util/ByteUtils.java b/staticlibs/framework/com/android/net/module/util/ByteUtils.java
index 3324975..290ed46 100644
--- a/staticlibs/framework/com/android/net/module/util/ByteUtils.java
+++ b/staticlibs/framework/com/android/net/module/util/ByteUtils.java
@@ -17,7 +17,6 @@
package com.android.net.module.util;
import android.annotation.NonNull;
-import android.annotation.Nullable;
/**
* Byte utility functions.
@@ -32,7 +31,7 @@
* @return the least index {@code i} for which {@code array[i] == target}, or {@code -1} if no
* such index exists.
*/
- public static int indexOf(@NonNull byte[] array, @Nullable byte target) {
+ public static int indexOf(@NonNull byte[] array, byte target) {
return indexOf(array, target, 0, array.length);
}