SegmentWithState: Add toString method. (#5635)

The class appears in log messages, and the default toString method
isn't very informative.
This commit is contained in:
Gian Merlino 2018-04-12 15:01:09 -04:00 committed by Himanshu
parent dbea5cb9b7
commit d0400a0688
1 changed files with 9 additions and 0 deletions

View File

@ -150,4 +150,13 @@ public class SegmentWithState
to
);
}
@Override
public String toString()
{
return "SegmentWithState{" +
"segmentIdentifier=" + segmentIdentifier +
", state=" + state +
'}';
}
}