Skip to content

Commit 3ea1824

Browse files
committed
Fixed javadoc typos
1 parent 6b82c37 commit 3ea1824

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

Diff for: src/main/java/com/hivemq/client/mqtt/mqtt3/Mqtt3AsyncClient.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ public interface Mqtt3AsyncClient extends Mqtt3Client {
103103
@NotNull CompletableFuture<@NotNull Mqtt3SubAck> subscribe(@NotNull Mqtt3Subscribe subscribe);
104104

105105
/**
106-
* Subscribes this client with the given Subscribe message and consumes the the incoming Publish messages matching
107-
* the subscriptions of the Subscribe message with a callback.
106+
* Subscribes this client with the given Subscribe message and consumes the incoming Publish messages matching the
107+
* subscriptions of the Subscribe message with a callback.
108108
*
109109
* @param subscribe the Subscribe messages sent to the broker.
110110
* @param callback the callback for consuming the incoming Publish messages matching the subscriptions of the
@@ -118,8 +118,8 @@ public interface Mqtt3AsyncClient extends Mqtt3Client {
118118
@NotNull Mqtt3Subscribe subscribe, @NotNull Consumer<@NotNull Mqtt3Publish> callback);
119119

120120
/**
121-
* Subscribes this client with the given Subscribe message and consumes the the incoming Publish messages matching
122-
* the subscriptions of the Subscribe message with a callback.
121+
* Subscribes this client with the given Subscribe message and consumes the incoming Publish messages matching the
122+
* subscriptions of the Subscribe message with a callback.
123123
* <p>
124124
* The future is completed and the callback is executed on the given executor.
125125
*
@@ -137,8 +137,8 @@ public interface Mqtt3AsyncClient extends Mqtt3Client {
137137
@NotNull Executor executor);
138138

139139
/**
140-
* Subscribes this client with the given Subscribe message and consumes the the incoming Publish messages matching
141-
* the subscriptions of the Subscribe message with a callback.
140+
* Subscribes this client with the given Subscribe message and consumes the incoming Publish messages matching the
141+
* subscriptions of the Subscribe message with a callback.
142142
*
143143
* @param subscribe the Subscribe messages sent to the broker.
144144
* @param callback the callback for consuming the incoming Publish messages matching the subscriptions
@@ -155,8 +155,8 @@ public interface Mqtt3AsyncClient extends Mqtt3Client {
155155
boolean manualAcknowledgement);
156156

157157
/**
158-
* Subscribes this client with the given Subscribe message and consumes the the incoming Publish messages matching
159-
* the subscriptions of the Subscribe message with a callback.
158+
* Subscribes this client with the given Subscribe message and consumes the incoming Publish messages matching the
159+
* subscriptions of the Subscribe message with a callback.
160160
* <p>
161161
* The future is completed and the callback is executed on the given executor.
162162
*

Diff for: src/main/java/com/hivemq/client/mqtt/mqtt5/Mqtt5AsyncClient.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ public interface Mqtt5AsyncClient extends Mqtt5Client {
107107
@NotNull CompletableFuture<@NotNull Mqtt5SubAck> subscribe(@NotNull Mqtt5Subscribe subscribe);
108108

109109
/**
110-
* Subscribes this client with the given Subscribe message and consumes the the incoming Publish messages matching
111-
* the subscriptions of the Subscribe message with a callback.
110+
* Subscribes this client with the given Subscribe message and consumes the incoming Publish messages matching the
111+
* subscriptions of the Subscribe message with a callback.
112112
*
113113
* @param subscribe the Subscribe messages sent to the broker.
114114
* @param callback the callback for consuming the incoming Publish messages matching the subscriptions of the
@@ -122,8 +122,8 @@ public interface Mqtt5AsyncClient extends Mqtt5Client {
122122
@NotNull Mqtt5Subscribe subscribe, @NotNull Consumer<@NotNull Mqtt5Publish> callback);
123123

124124
/**
125-
* Subscribes this client with the given Subscribe message and consumes the the incoming Publish messages matching
126-
* the subscriptions of the Subscribe message with a callback.
125+
* Subscribes this client with the given Subscribe message and consumes the incoming Publish messages matching the
126+
* subscriptions of the Subscribe message with a callback.
127127
* <p>
128128
* The future is completed and the callback is executed on the given executor.
129129
*
@@ -141,8 +141,8 @@ public interface Mqtt5AsyncClient extends Mqtt5Client {
141141
@NotNull Executor executor);
142142

143143
/**
144-
* Subscribes this client with the given Subscribe message and consumes the the incoming Publish messages matching
145-
* the subscriptions of the Subscribe message with a callback.
144+
* Subscribes this client with the given Subscribe message and consumes the incoming Publish messages matching the
145+
* subscriptions of the Subscribe message with a callback.
146146
*
147147
* @param subscribe the Subscribe messages sent to the broker.
148148
* @param callback the callback for consuming the incoming Publish messages matching the subscriptions
@@ -159,8 +159,8 @@ public interface Mqtt5AsyncClient extends Mqtt5Client {
159159
boolean manualAcknowledgement);
160160

161161
/**
162-
* Subscribes this client with the given Subscribe message and consumes the the incoming Publish messages matching
163-
* the subscriptions of the Subscribe message with a callback.
162+
* Subscribes this client with the given Subscribe message and consumes the incoming Publish messages matching the
163+
* subscriptions of the Subscribe message with a callback.
164164
* <p>
165165
* The future is completed and the callback is executed on the given executor.
166166
*

0 commit comments

Comments
 (0)