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
This commit is contained in:
parent
01f484cbe9
commit
424f991079
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user