未验证 提交 bb9a70c9 编写于 作者: H Heng Du 提交者: GitHub

Merge pull request #3165 from zhangjidi2016/fix_checkstyle_error

[ISSUE #3164]Fix the checkstyle error
...@@ -18,7 +18,6 @@ package org.apache.rocketmq.example.quickstart; ...@@ -18,7 +18,6 @@ package org.apache.rocketmq.example.quickstart;
import org.apache.rocketmq.client.exception.MQClientException; import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.client.producer.DefaultMQProducer; 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.client.producer.SendResult;
import org.apache.rocketmq.common.message.Message; import org.apache.rocketmq.common.message.Message;
import org.apache.rocketmq.remoting.common.RemotingHelper; import org.apache.rocketmq.remoting.common.RemotingHelper;
...@@ -77,7 +76,7 @@ public class Producer { ...@@ -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 * if you want to get the send result in a synchronize way, you can use this send method
* {@code * {@code
* SendResult sendResult = producer.send(msg); * SendResult sendResult = producer.send(msg);
* System.out.println(sendResult.toString()); * System.out.printf("%s%n", sendResult);
* } * }
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册