From 170be11100336bcd53c72d195fab86e15de77c41 Mon Sep 17 00:00:00 2001 From: Jiawen Wang <74594733+summeriiii@users.noreply.github.com> Date: Wed, 30 Oct 2024 22:15:00 +0800 Subject: [PATCH] [fix][client] Fix the javadoc for startMessageIdInclusive (#23508) --- .../java/org/apache/pulsar/client/api/ConsumerBuilder.java | 3 +-- .../main/java/org/apache/pulsar/client/api/ReaderBuilder.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java b/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java index 4b50f7e0c60b9..4c37b1da927a6 100644 --- a/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java +++ b/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerBuilder.java @@ -683,8 +683,7 @@ public interface ConsumerBuilder extends Cloneable { ConsumerBuilder keySharedPolicy(KeySharedPolicy keySharedPolicy); /** - * Sets the consumer to include the given position of any reset operation like {@link Consumer#seek(long)} or - * {@link Consumer#seek(MessageId)}}. + * Sets the consumer to include the given position of reset operation {@link Consumer#seek(MessageId)}}. * * @return the consumer builder instance */ diff --git a/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ReaderBuilder.java b/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ReaderBuilder.java index d522c3c4b6e4e..4a313feba43d5 100644 --- a/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ReaderBuilder.java +++ b/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ReaderBuilder.java @@ -150,7 +150,7 @@ public interface ReaderBuilder extends Cloneable { /** * Set the reader to include the given position of {@link ReaderBuilder#startMessageId(MessageId)} * - *

This configuration option also applies for any cursor reset operation like {@link Reader#seek(MessageId)}. + *

This configuration option also applies for cursor reset operation {@link Reader#seek(MessageId)}. * * @return the reader builder instance */