Skip to content

Commit

Permalink
Fix duplicate word occurrences #2307
Browse files Browse the repository at this point in the history
  • Loading branch information
rbowen committed Feb 14, 2023
1 parent ce26425 commit 4391235
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/io/lettuce/core/ConcurrentLruCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public int size() {
}

/**
* Return the the maximum number of entries in the cache (0 indicates no caching, always generating a new value).
* Return the maximum number of entries in the cache (0 indicates no caching, always generating a new value).
*
* @see #size()
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/lettuce/core/SocketOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ private Builder() {
}

/**
* Set the the maximum number of keepalive probes TCP should send before dropping the connection. Defaults to
* Set the maximum number of keepalive probes TCP should send before dropping the connection. Defaults to
* {@code 9}. See also {@link #DEFAULT_COUNT} and {@code TCP_KEEPCNT}.
*
* @param count the maximum number of keepalive probes TCP
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/lettuce/core/metrics/MetricCollector.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public interface MetricCollector<T> {
/**
* Returns the collected/aggregated metrics.
*
* @return the the collected/aggregated metrics
* @return the collected/aggregated metrics
*/
T retrieveMetrics();

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/lettuce/core/protocol/CommandWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public static <K, V, T> RedisCommand<K, V, T> unwrap(RedisCommand<K, V, T> wrapp
*
* If the receiver implements the interface then the result is the receiver or a proxy for the receiver. If the receiver is
* a wrapper and the wrapped object implements the interface then the result is the wrapped object or a proxy for the
* wrapped object. Otherwise return the the result of calling <code>unwrap</code> recursively on the wrapped object or a
* wrapped object. Otherwise return the result of calling <code>unwrap</code> recursively on the wrapped object or a
* proxy for that result. If the receiver is not a wrapper and does not implement the interface, then an {@code null} is
* returned.
*
Expand Down

0 comments on commit 4391235

Please sign in to comment.