Commit d3d192e3 by ibaker Committed by Oliver Woodman

Extend EventMessage.toString to include durationMs

This field is used in .equals(), so it makes sense to include it in toString() too.

PiperOrigin-RevId: 263768329
parent 9ec346a2
...@@ -135,7 +135,14 @@ public final class EventMessage implements Metadata.Entry { ...@@ -135,7 +135,14 @@ public final class EventMessage implements Metadata.Entry {
@Override @Override
public String toString() { public String toString() {
return "EMSG: scheme=" + schemeIdUri + ", id=" + id + ", value=" + value; return "EMSG: scheme="
+ schemeIdUri
+ ", id="
+ id
+ ", durationMs="
+ durationMs
+ ", value="
+ value;
} }
// Parcelable implementation. // Parcelable implementation.
......
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