From 830077282dcef5e6f1359028bf0a55d12820e9ba Mon Sep 17 00:00:00 2001 From: mohammed jasem alaajel Date: Sat, 23 Jul 2022 08:24:03 +0400 Subject: [PATCH] fix java docs --- .../imaginarycode/minecraft/redisbungee/RedisBungeeAPI.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeAPI.java b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeAPI.java index c66d43c..0138be1 100644 --- a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeAPI.java +++ b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungeeAPI.java @@ -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) {