From fb7a7e5949cae3f490169c04b12f37f63d4a1973 Mon Sep 17 00:00:00 2001 From: yuanjunhui Date: Wed, 25 Sep 2019 17:35:55 +0800 Subject: [PATCH] [ISSUE #1483] fix bug in QueryMsgByIdSubCommand print OffsetID twice --- .../tools/command/message/QueryMsgByIdSubCommand.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java b/tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java index 6bb8caad..bdcd5c8a 100644 --- a/tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java +++ b/tools/src/main/java/org/apache/rocketmq/tools/command/message/QueryMsgByIdSubCommand.java @@ -66,11 +66,6 @@ public class QueryMsgByIdSubCommand implements SubCommand { msgId ); - System.out.printf("%-20s %s%n", - "OffsetID:", - msgId - ); - System.out.printf("%-20s %s%n", "Topic:", msg.getTopic() -- GitLab