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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user