Skip to content

Commit ef737dd

Browse files
committed
Javadoc fixes
1 parent b3b12b9 commit ef737dd

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public Long dbSize() {
332332
* {@link #persist(byte[]) PERSIST} command.
333333
* <p>
334334
* Time complexity: O(1)
335-
* @see <ahref="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
335+
* @see <a href="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
336336
* @param key
337337
* @param seconds
338338
* @return Integer reply, specifically: 1: the timeout was set. 0: the timeout was not set since
@@ -362,12 +362,12 @@ public Long expire(final byte[] key, final int seconds) {
362362
* normal key using the {@link #persist(byte[]) PERSIST} command.
363363
* <p>
364364
* Time complexity: O(1)
365-
* @see <ahref="http://redis.io/commands/pexpire">PEXPIRE Command</a>
365+
* @see <a href="http://redis.io/commands/pexpire">PEXPIRE Command</a>
366366
* @param key
367367
* @param milliseconds
368368
* @return Integer reply, specifically: 1: the timeout was set. 0: the timeout was not set since
369-
* the key already has an associated timeout (this may happen only in Redis versions <
370-
* 2.1.3, Redis >= 2.1.3 will happily update the timeout), or the key does not exist.
369+
* the key already has an associated timeout (this may happen only in Redis versions &lt;
370+
* 2.1.3, Redis &gt;= 2.1.3 will happily update the timeout), or the key does not exist.
371371
*/
372372
@Deprecated
373373
public Long pexpire(String key, final long milliseconds) {
@@ -392,7 +392,7 @@ public Long pexpire(String key, final long milliseconds) {
392392
* {@link #persist(byte[]) PERSIST} command.
393393
* <p>
394394
* Time complexity: O(1)
395-
* @see <ahref="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
395+
* @see <a href="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
396396
* @param key
397397
* @param unixTime
398398
* @return Integer reply, specifically: 1: the timeout was set. 0: the timeout was not set since

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public Long renamenx(final String oldkey, final String newkey) {
250250
* {@link #persist(String) PERSIST} command.
251251
* <p>
252252
* Time complexity: O(1)
253-
* @see <ahref="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
253+
* @see <a href="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
254254
* @param key
255255
* @param seconds
256256
* @return Integer reply, specifically: 1: the timeout was set. 0: the timeout was not set since
@@ -279,7 +279,7 @@ public Long expire(final String key, final int seconds) {
279279
* {@link #persist(String) PERSIST} command.
280280
* <p>
281281
* Time complexity: O(1)
282-
* @see <ahref="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
282+
* @see <a href="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
283283
* @param key
284284
* @param unixTime
285285
* @return Integer reply, specifically: 1: the timeout was set. 0: the timeout was not set since

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,7 +1735,7 @@ public String execute(Jedis connection) {
17351735
/**
17361736
* @deprecated SetParams is scheduled to be introduced at next major release Please use setnx
17371737
* instead for now
1738-
* @see https://github.com/xetorthio/jedis/pull/878
1738+
* @see <a href="https://github.com/xetorthio/jedis/pull/878">issue#878</a>
17391739
*/
17401740
@Deprecated
17411741
@Override
@@ -1789,7 +1789,7 @@ public Long execute(Jedis connection) {
17891789
/**
17901790
* This method is deprecated due to bug (scan cursor should be unsigned long) And will be removed
17911791
* on next major release
1792-
* @see https://github.com/xetorthio/jedis/issues/531
1792+
* @see <a href="https://github.com/xetorthio/jedis/issues/531">issue#531</a>
17931793
*/
17941794
@Deprecated
17951795
@Override
@@ -1806,7 +1806,7 @@ public ScanResult<Entry<String, String>> execute(Jedis connection) {
18061806
/**
18071807
* This method is deprecated due to bug (scan cursor should be unsigned long) And will be removed
18081808
* on next major release
1809-
* @see https://github.com/xetorthio/jedis/issues/531
1809+
* @see <a href="https://github.com/xetorthio/jedis/issues/531">issue#531</a>
18101810
*/
18111811
@Deprecated
18121812
@Override
@@ -1822,7 +1822,7 @@ public ScanResult<String> execute(Jedis connection) {
18221822
/**
18231823
* This method is deprecated due to bug (scan cursor should be unsigned long) And will be removed
18241824
* on next major release
1825-
* @see https://github.com/xetorthio/jedis/issues/531
1825+
* @see <a href="https://github.com/xetorthio/jedis/issues/531">issue#531</a>
18261826
*/
18271827
@Deprecated
18281828
@Override
@@ -1938,4 +1938,4 @@ public List<GeoRadiusResponse> execute(Jedis connection) {
19381938
}
19391939
}.run(key);
19401940
}
1941-
}
1941+
}

src/main/java/redis/clients/util/Sharded.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ public S getShardInfo(String key) {
8686
/**
8787
* A key tag is a special pattern inside a key that, if preset, is the only part of the key hashed
8888
* in order to select the server for this key.
89-
* @see http://code.google.com/p/redis/wiki/FAQ#I
90-
* 'm_using_some_form_of_key_hashing_for_partitioning,_but_wh
9189
* @param key
9290
* @return The tag if it exists, or the original key
9391
*/

0 commit comments

Comments
 (0)