Skip to content

Commit f7f7a26

Browse files
committed
Fix docs
1 parent 976e70f commit f7f7a26

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/main/java/redis/clients/jedis/RedisClient.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,20 @@
1515
* <p>
1616
* This class provides a modern, unified interface for interacting with Redis, supporting
1717
* connection pooling, authentication, and configuration via a fluent builder API.
18-
* </p>
19-
* <p>
18+
* </p><p>
2019
* {@code RedisClient} supersedes the deprecated {@link JedisPooled} and {@link UnifiedJedis}
2120
* classes, offering improved usability and extensibility. For new applications, use
2221
* {@code RedisClient} instead of the older classes.
2322
* </p>
2423
* <p>
2524
* Example usage:
25+
* </p>
2626
* <pre>{@code
2727
* RedisClient client = RedisClient.builder()
2828
* .host("localhost")
2929
* .port(6379)
3030
* .build();
3131
* }</pre>
32-
* </p>
3332
* <p>
3433
* For advanced configuration, see the {@link RedisClient.Builder} class.
3534
* </p>

src/main/java/redis/clients/jedis/RedisSentinelClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
* </p>
1717
* <p>
1818
* Usage:
19+
* </p>
1920
* <pre>
2021
* RedisSentinelClient client = RedisSentinelClient.builder()
2122
* .sentinel("localhost", 26379)
2223
* .masterName("mymaster")
2324
* .build();
2425
* </pre>
25-
* </p>
2626
* <p>
2727
* <b>Relationship to {@code JedisSentineled}:</b>
2828
* <ul>

0 commit comments

Comments
 (0)