Merge branch 'cassandra-3.0' into cassandra-3.X

This commit is contained in:
Yuki Morishita 2016-10-20 10:38:59 -05:00
commit 26ee16b5f7
1 changed files with 1 additions and 5 deletions

View File

@ -59,11 +59,7 @@ public class DefaultConnectionFactory implements StreamConnectionFactory
{
if (socket != null)
{
try
{
socket.close();
}
catch (IOException ignore) {}
socket.close();
}
if (++attempts >= MAX_CONNECT_ATTEMPTS)
throw e;