Merge "Redact key value from log when DEBUG is false"
This commit is contained in:
@@ -645,7 +645,7 @@ public final class ArrayMap<K, V> implements Map<K, V> {
|
|||||||
e.fillInStackTrace();
|
e.fillInStackTrace();
|
||||||
Log.w(TAG, "New hash " + hash
|
Log.w(TAG, "New hash " + hash
|
||||||
+ " is before end of array hash " + mHashes[index-1]
|
+ " is before end of array hash " + mHashes[index-1]
|
||||||
+ " at index " + index + " key " + key, e);
|
+ " at index " + index + (DEBUG ? " key " + key : ""), e);
|
||||||
put(key, value);
|
put(key, value);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user