2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-22 20:28:00 +00:00

fix java docs

This commit is contained in:
mohammed jasem alaajel 2022-07-23 08:24:03 +04:00
parent 2b2ae88587
commit 830077282d

View File

@ -362,7 +362,7 @@ public class RedisBungeeAPI {
*
* @return {@link Jedis}
* @since 0.7.0
* @throws IllegalStateException if the #getMode is not equal to {@link RedisBungeeMode#SINGLE}
* @throws IllegalStateException if the #getMode() is not equal to {@link RedisBungeeMode#SINGLE}
*/
public Jedis requestJedis() {
if (getMode() == RedisBungeeMode.SINGLE) {
@ -377,7 +377,7 @@ public class RedisBungeeAPI {
*
* @return {@link JedisPool}
* @since 0.6.5
* @throws IllegalStateException if the #getMode is not equal to {@link RedisBungeeMode#SINGLE}
* @throws IllegalStateException if the #getMode() is not equal to {@link RedisBungeeMode#SINGLE}
*/
public JedisPool getJedisPool() {
if (getMode() == RedisBungeeMode.SINGLE) {
@ -392,7 +392,7 @@ public class RedisBungeeAPI {
*
* @return {@link redis.clients.jedis.JedisCluster}
* @since 0.8.0
* @throws IllegalStateException if the #getMode is not equal to {@link RedisBungeeMode#CLUSTER}
* @throws IllegalStateException if the #getMode() is not equal to {@link RedisBungeeMode#CLUSTER}
*/
public Jedis requestClusterJedis() {
if (getMode() == RedisBungeeMode.CLUSTER) {