Skip to content

Commit f980367

Browse files
Fix typo in method name (#2853)
Co-authored-by: M Sazzadul Hoque <[email protected]>
1 parent 3f60dcb commit f980367

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public DefaultJedisSocketFactory(HostAndPort hostAndPort, JedisClientConfig conf
5454
}
5555
}
5656

57-
private Socket connectToFirstSuccsefulHost(HostAndPort hostAndPort) throws Exception {
57+
private Socket connectToFirstSuccessfulHost(HostAndPort hostAndPort) throws Exception {
5858
List<InetAddress> hosts = Arrays.asList(InetAddress.getAllByName(hostAndPort.getHost()));
5959
if (hosts.size() > 1) {
6060
Collections.shuffle(hosts);
@@ -84,7 +84,7 @@ public Socket createSocket() throws JedisConnectionException {
8484
Socket socket = null;
8585
try {
8686
HostAndPort _hostAndPort = getSocketHostAndPort();
87-
socket = connectToFirstSuccsefulHost(_hostAndPort);
87+
socket = connectToFirstSuccessfulHost(_hostAndPort);
8888
socket.setSoTimeout(socketTimeout);
8989

9090
if (ssl) {

0 commit comments

Comments
 (0)