From 58087722e414090fde5d85ab35d44293c619c48b Mon Sep 17 00:00:00 2001 From: yuz10 <845238369@qq.com> Date: Sun, 18 Jul 2021 23:12:09 +0800 Subject: [PATCH] fix checkstyle fail --- .../java/org/apache/rocketmq/example/quickstart/Producer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/example/src/main/java/org/apache/rocketmq/example/quickstart/Producer.java b/example/src/main/java/org/apache/rocketmq/example/quickstart/Producer.java index 0da61779..771eea15 100644 --- a/example/src/main/java/org/apache/rocketmq/example/quickstart/Producer.java +++ b/example/src/main/java/org/apache/rocketmq/example/quickstart/Producer.java @@ -18,7 +18,6 @@ package org.apache.rocketmq.example.quickstart; import org.apache.rocketmq.client.exception.MQClientException; import org.apache.rocketmq.client.producer.DefaultMQProducer; -import org.apache.rocketmq.client.producer.SendCallback; import org.apache.rocketmq.client.producer.SendResult; import org.apache.rocketmq.common.message.Message; import org.apache.rocketmq.remoting.common.RemotingHelper; @@ -77,7 +76,7 @@ public class Producer { * if you want to get the send result in a synchronize way, you can use this send method * {@code * SendResult sendResult = producer.send(msg); - * System.out.println(sendResult.toString()); + * System.out.printf("%s%n", sendResult); * } */ -- GitLab