Skip to content

Commit

Permalink
Javadoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xetorthio committed Nov 23, 2015
1 parent b3b12b9 commit ef737dd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
10 changes: 5 additions & 5 deletions src/main/java/redis/clients/jedis/BinaryJedis.java
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public Long dbSize() {
* {@link #persist(byte[]) PERSIST} command.
* <p>
* Time complexity: O(1)
* @see <ahref="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
* @see <a href="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
* @param key
* @param seconds
* @return Integer reply, specifically: 1: the timeout was set. 0: the timeout was not set since
Expand Down Expand Up @@ -362,12 +362,12 @@ public Long expire(final byte[] key, final int seconds) {
* normal key using the {@link #persist(byte[]) PERSIST} command.
* <p>
* Time complexity: O(1)
* @see <ahref="http://redis.io/commands/pexpire">PEXPIRE Command</a>
* @see <a href="http://redis.io/commands/pexpire">PEXPIRE Command</a>
* @param key
* @param milliseconds
* @return Integer reply, specifically: 1: the timeout was set. 0: the timeout was not set since
* the key already has an associated timeout (this may happen only in Redis versions <
* 2.1.3, Redis >= 2.1.3 will happily update the timeout), or the key does not exist.
* the key already has an associated timeout (this may happen only in Redis versions &lt;
* 2.1.3, Redis &gt;= 2.1.3 will happily update the timeout), or the key does not exist.
*/
@Deprecated
public Long pexpire(String key, final long milliseconds) {
Expand All @@ -392,7 +392,7 @@ public Long pexpire(String key, final long milliseconds) {
* {@link #persist(byte[]) PERSIST} command.
* <p>
* Time complexity: O(1)
* @see <ahref="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
* @see <a href="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
* @param key
* @param unixTime
* @return Integer reply, specifically: 1: the timeout was set. 0: the timeout was not set since
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/redis/clients/jedis/Jedis.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public Long renamenx(final String oldkey, final String newkey) {
* {@link #persist(String) PERSIST} command.
* <p>
* Time complexity: O(1)
* @see <ahref="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
* @see <a href="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
* @param key
* @param seconds
* @return Integer reply, specifically: 1: the timeout was set. 0: the timeout was not set since
Expand Down Expand Up @@ -279,7 +279,7 @@ public Long expire(final String key, final int seconds) {
* {@link #persist(String) PERSIST} command.
* <p>
* Time complexity: O(1)
* @see <ahref="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
* @see <a href="http://code.google.com/p/redis/wiki/ExpireCommand">ExpireCommand</a>
* @param key
* @param unixTime
* @return Integer reply, specifically: 1: the timeout was set. 0: the timeout was not set since
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/redis/clients/jedis/JedisCluster.java
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,7 @@ public String execute(Jedis connection) {
/**
* @deprecated SetParams is scheduled to be introduced at next major release Please use setnx
* instead for now
* @see https://github.com/xetorthio/jedis/pull/878
* @see <a href="https://github.com/xetorthio/jedis/pull/878">issue#878</a>
*/
@Deprecated
@Override
Expand Down Expand Up @@ -1789,7 +1789,7 @@ public Long execute(Jedis connection) {
/**
* This method is deprecated due to bug (scan cursor should be unsigned long) And will be removed
* on next major release
* @see https://github.com/xetorthio/jedis/issues/531
* @see <a href="https://github.com/xetorthio/jedis/issues/531">issue#531</a>
*/
@Deprecated
@Override
Expand All @@ -1806,7 +1806,7 @@ public ScanResult<Entry<String, String>> execute(Jedis connection) {
/**
* This method is deprecated due to bug (scan cursor should be unsigned long) And will be removed
* on next major release
* @see https://github.com/xetorthio/jedis/issues/531
* @see <a href="https://github.com/xetorthio/jedis/issues/531">issue#531</a>
*/
@Deprecated
@Override
Expand All @@ -1822,7 +1822,7 @@ public ScanResult<String> execute(Jedis connection) {
/**
* This method is deprecated due to bug (scan cursor should be unsigned long) And will be removed
* on next major release
* @see https://github.com/xetorthio/jedis/issues/531
* @see <a href="https://github.com/xetorthio/jedis/issues/531">issue#531</a>
*/
@Deprecated
@Override
Expand Down Expand Up @@ -1938,4 +1938,4 @@ public List<GeoRadiusResponse> execute(Jedis connection) {
}
}.run(key);
}
}
}
2 changes: 0 additions & 2 deletions src/main/java/redis/clients/util/Sharded.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ public S getShardInfo(String key) {
/**
* A key tag is a special pattern inside a key that, if preset, is the only part of the key hashed
* in order to select the server for this key.
* @see http://code.google.com/p/redis/wiki/FAQ#I
* 'm_using_some_form_of_key_hashing_for_partitioning,_but_wh
* @param key
* @return The tag if it exists, or the original key
*/
Expand Down

0 comments on commit ef737dd

Please sign in to comment.