lizhanhui commented on code in PR #4780:
URL: https://github.com/apache/rocketmq/pull/4780#discussion_r954537750
##########
common/src/main/java/org/apache/rocketmq/common/EpochEntry.java:
##########
@@ -64,10 +65,10 @@ public void setEndOffset(long endOffset) {
@Override
public String toString() {
return "EpochEntry{" +
- "epoch=" + epoch +
- ", startOffset=" + startOffset +
- ", endOffset=" + endOffset +
- '}';
+ "epoch=" + epoch +
Review Comment:
Can we use JSON library to generate string representation instead of manual
concatenation?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]