Fix array-related errorprone warnings
The ArrayEquals, ArrayHashCode, ArrayToString, and ArraysAsListPrimitiveArray errorprone findings were demoted from errors to warnings. Fix existing occurrences of them so they can be made errors again. Bug: 242630963 Test: RUN_ERROR_PRONE=true m javac-check Change-Id: I95b4d0f8d3dfa957285ca94e0846fd3da4734e57
This commit is contained in:
committed by
Lorenzo Colitti
parent
6956ac5eb5
commit
fe60c0fe31
@@ -1273,8 +1273,10 @@ public class TetheringManager {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(mTetherableBluetoothRegexs, mTetherableUsbRegexs,
|
||||
mTetherableWifiRegexs);
|
||||
return Objects.hash(
|
||||
Arrays.hashCode(mTetherableBluetoothRegexs),
|
||||
Arrays.hashCode(mTetherableUsbRegexs),
|
||||
Arrays.hashCode(mTetherableWifiRegexs));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user