Skip to content

Commit 6b49fa4

Browse files
jchamberssazzad16gkorland
authored
Make getConnection abstract methods protected (#2203)
* Make `getConnection` abstract methods public. * set as protected Co-authored-by: M Sazzadul Hoque <[email protected]> Co-authored-by: Guy Korland <[email protected]>
1 parent 35b98af commit 6b49fa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public JedisClusterConnectionHandler(Set<HostAndPort> nodes, final GenericObject
5858
user, password, clientName, ssl, sslSocketFactory, sslParameters, hostnameVerifier);
5959
}
6060

61-
abstract Jedis getConnection();
61+
protected abstract Jedis getConnection();
6262

63-
abstract Jedis getConnectionFromSlot(int slot);
63+
protected abstract Jedis getConnectionFromSlot(int slot);
6464

6565
public Jedis getConnectionFromNode(HostAndPort node) {
6666
return cache.setupNodeIfNotExist(node).getResource();

0 commit comments

Comments
 (0)