提交 881f7675 编写于 作者: U uglycow 提交者: Heng Du

typo fix (#1723)

上级 678cab39
...@@ -561,8 +561,8 @@ public class DefaultLitePullConsumerImpl implements MQConsumerInner { ...@@ -561,8 +561,8 @@ public class DefaultLitePullConsumerImpl implements MQConsumerInner {
} }
public void seekToEnd(MessageQueue messageQueue) throws MQClientException { public void seekToEnd(MessageQueue messageQueue) throws MQClientException {
long begin = maxOffset(messageQueue); long end = maxOffset(messageQueue);
this.seek(messageQueue, begin); this.seek(messageQueue, end);
} }
private long maxOffset(MessageQueue messageQueue) throws MQClientException { private long maxOffset(MessageQueue messageQueue) throws MQClientException {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册