diff --git a/src/main/java/io/lettuce/core/GeoCoordinates.java b/src/main/java/io/lettuce/core/GeoCoordinates.java index 15070928d5..134dd4f08f 100644 --- a/src/main/java/io/lettuce/core/GeoCoordinates.java +++ b/src/main/java/io/lettuce/core/GeoCoordinates.java @@ -47,7 +47,7 @@ public GeoCoordinates(Number x, Number y) { * * @param x the longitude, must not be {@literal null}. * @param y the latitude, must not be {@literal null}. - * @return {@literal {@link GeoCoordinates}. + * @return {@link GeoCoordinates}. */ public static GeoCoordinates create(Number x, Number y) { return new GeoCoordinates(x, y); diff --git a/src/main/java/io/lettuce/core/RedisURI.java b/src/main/java/io/lettuce/core/RedisURI.java index 07d66e8afa..7bdf7f47a0 100644 --- a/src/main/java/io/lettuce/core/RedisURI.java +++ b/src/main/java/io/lettuce/core/RedisURI.java @@ -68,20 +68,21 @@ * * Redis Standalone
redis{@code ://}[password@]host [{@code :} * port][{@code /}database][{@code ?} [timeout=timeout[d|h|m|s|ms|us|ns]] [ - * &database=database] [&clientName=clientName]]+ * &database=database] [&clientName=clientName]] * * Redis Standalone (SSL)
rediss{@code ://}[password@]host [{@code :} * port][{@code /}database][{@code ?} [timeout=timeout[d|h|m|s|ms|us|ns]] [ - * &database=database] [&clientName=clientName]]+ * &database=database] [&clientName=clientName]] * * Redis Standalone (Unix Domain Sockets)
redis-socket{@code ://} [password@]path[ - * {@code ?}[timeout=timeout[d|h|m|s|ms|us|ns]][&database=database] [&clientName=clientName]] - *+ * {@code ?}[timeout=timeout[d|h|m|s|ms|us|ns]][&database=database] + * [&clientName=clientName]] * * Redis Sentinel
redis-sentinel{@code ://}[password@]host1 [{@code :} * port1][, host2 [{@code :}port2]][, hostN [{@code :}portN]][{@code /} * database][{@code ?} [timeout=timeout[d|h|m|s|ms|us|ns]] [ - * &sentinelMasterId=sentinelMasterId] [&database=database] [&clientName=clientName]]+ * &sentinelMasterId=sentinelMasterId] [&database=database] [&clientName=clientName]] + * * *
* Schemes diff --git a/src/main/java/io/lettuce/core/cluster/ClusterTopologyRefreshOptions.java b/src/main/java/io/lettuce/core/cluster/ClusterTopologyRefreshOptions.java index 6deb3bba8f..665ff1b4ca 100644 --- a/src/main/java/io/lettuce/core/cluster/ClusterTopologyRefreshOptions.java +++ b/src/main/java/io/lettuce/core/cluster/ClusterTopologyRefreshOptions.java @@ -368,7 +368,7 @@ public boolean isCloseStaleConnections() { * to {@literal false}, only the initial seed nodes will be used as sources for topology discovery and the number of clients * will be obtained only for the initial seed nodes. This can be useful when using Redis Cluster with many nodes. * - * @return {@link true} if dynamic refresh sources are enabled + * @return {@literal true} if dynamic refresh sources are enabled */ public boolean useDynamicRefreshSources() { return dynamicRefreshSources; diff --git a/src/main/java/io/lettuce/core/cluster/pubsub/StatefulRedisClusterPubSubConnection.java b/src/main/java/io/lettuce/core/cluster/pubsub/StatefulRedisClusterPubSubConnection.java index 69f48d1261..d95f4c37fe 100644 --- a/src/main/java/io/lettuce/core/cluster/pubsub/StatefulRedisClusterPubSubConnection.java +++ b/src/main/java/io/lettuce/core/cluster/pubsub/StatefulRedisClusterPubSubConnection.java @@ -37,10 +37,10 @@ * subscription. * *
- * StatefulRedisClusterPubSubConnection@@ -59,10 +59,10 @@ * *connection = clusterClient.connectPubSub(); + * StatefulRedisClusterPubSubConnection<String, String> connection = clusterClient.connectPubSub(); * connection.addListener(…); * - * RedisClusterPubSubCommands sync = connection.sync(); + * RedisClusterPubSubCommands<String, String> sync = connection.sync(); * sync.subscribe("channel"); * sync.publish("channel", "message"); *
*
- * StatefulRedisClusterPubSubConnection connection = clusterClient.connectPubSub();
+ * StatefulRedisClusterPubSubConnection<String, String> connection = clusterClient.connectPubSub();
* connection.addListener(…);
*
- * RedisClusterPubSubCommands sync = connection.sync();
+ * RedisClusterPubSubCommands<String, String> sync = connection.sync();
* sync.replicas().commands().psubscribe("__key*__:*");
*
*
diff --git a/src/main/java/io/lettuce/core/internal/Futures.java b/src/main/java/io/lettuce/core/internal/Futures.java
index 743d4d2d34..a89660f71d 100644
--- a/src/main/java/io/lettuce/core/internal/Futures.java
+++ b/src/main/java/io/lettuce/core/internal/Futures.java
@@ -84,7 +84,6 @@ public static CompletableFuture@@ -152,7 +152,7 @@ public void close() throws IOException { * Perform hostname to address resolution. * * @param host the hostname, must not be empty or {@literal null}. - * @return array of one or more {@link InetAddress adresses} + * @return array of one or more {@link InetAddress addresses} * @throws UnknownHostException */ @Override