Slight update to eliminate a space from the property name and
an explicit present/absent string.
Change-Id: I9cb3a57049737c8ea25d22263140ff9974e23502
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
741013a2d48a4d08f83082c4e3cff79f59d17dde)
@Override
protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) {
return super.addToStringAttributes(toStringHelper).add("cookie", cookie).add("shard", shardName)
- .add("dataTree present", getDataTree().isPresent());
+ .add("dataTree", getDataTree().isPresent() ? "present" : "absent");
}
}