Skip to content

Commit fcf1f18

Browse files
committed
Correct javadoc
1 parent 4ac8120 commit fcf1f18

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

src/main/java/io/asyncer/r2dbc/mysql/MySqlConnectionConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ public Builder prepareCacheSize(int prepareCacheSize) {
866866
* @param compressionAlgorithms the list of compression algorithms.
867867
* @return {@link Builder this}.
868868
* @throws IllegalArgumentException if {@code compressionAlgorithms} is {@code null} or empty.
869-
* @since 1.1.0
869+
* @since 1.1.2
870870
*/
871871
public Builder compressionAlgorithms(CompressionAlgorithm... compressionAlgorithms) {
872872
requireNonNull(compressionAlgorithms, "compressionAlgorithms must not be null");
@@ -900,7 +900,7 @@ public Builder compressionAlgorithms(CompressionAlgorithm... compressionAlgorith
900900
* @param level the compression level.
901901
* @return {@link Builder this}.
902902
* @throws IllegalArgumentException if {@code level} is not between 1 and 22.
903-
* @since 1.1.0
903+
* @since 1.1.2
904904
* @see <a href="https://dev.mysql.com/doc/refman/8.0/en/connection-options.html">
905905
* MySQL Connection Options --zstd-compression-level</a>
906906
*/

src/main/java/io/asyncer/r2dbc/mysql/MySqlConnectionFactoryProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public final class MySqlConnectionFactoryProvider implements ConnectionFactoryPr
199199
* <p>
200200
* Note: zstd requires a dependency {@code com.github.luben:zstd-jni}.
201201
*
202-
* @since 1.1.0
202+
* @since 1.1.2
203203
*/
204204
public static final Option<CompressionAlgorithm[]> COMPRESSION_ALGORITHMS =
205205
Option.valueOf("compressionAlgorithms");
@@ -212,7 +212,7 @@ public final class MySqlConnectionFactoryProvider implements ConnectionFactoryPr
212212
* Note: MySQL protocol does not allow to set the zlib compression level of the server, only zstd is
213213
* configurable.
214214
*
215-
* @since 1.1.0
215+
* @since 1.1.2
216216
*/
217217
public static final Option<Integer> ZSTD_COMPRESSION_LEVEL =
218218
Option.valueOf("zstdCompressionLevel");

src/main/java/io/asyncer/r2dbc/mysql/message/client/ClientMessage.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
*/
2828
public interface ClientMessage {
2929

30+
/**
31+
* Returns whether the sequence should be reset before encoding this message.
32+
*
33+
* @return {@code true} if the sequence should be reset.
34+
*/
3035
default boolean isSequenceReset() {
3136
return true;
3237
}

0 commit comments

Comments
 (0)