mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
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
This commit is contained in:
parent
dcac4aa67f
commit
2de1a204e2
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue