Commit 2de1a204 by ibaker Committed by Oliver Woodman

Add Metadata.toString that prints the contents of `entries`

entries are used in .equals(), so it's good to have them printed in toString() too (for test failures) and it makes logging easier too.

PiperOrigin-RevId: 263335503
parent dcac4aa6
......@@ -122,6 +122,11 @@ public final class Metadata implements Parcelable {
return Arrays.hashCode(entries);
}
@Override
public String toString() {
return "entries=" + Arrays.toString(entries);
}
// Parcelable implementation.
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment