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: Ida6513002f8fd845a385924be290b720f06c4748
This commit is contained in:
Cole Faust
2022-08-15 18:52:37 -07:00
parent 24f45fbd63
commit a21ac03acb
5 changed files with 7 additions and 6 deletions

View File

@@ -746,7 +746,7 @@ public class WifiConfigController implements TextWatcher,
if (config.enterpriseConfig.getCaCertificateAliases() != null
&& config.enterpriseConfig.getCaPath() != null) {
Log.e(TAG, "ca_cert ("
+ config.enterpriseConfig.getCaCertificateAliases()
+ Arrays.toString(config.enterpriseConfig.getCaCertificateAliases())
+ ") and ca_path ("
+ config.enterpriseConfig.getCaPath()
+ ") should not both be non-null");