Fix checkstyle
This commit is contained in:
parent
e9d2ebea3d
commit
d504d78cb1
@ -300,9 +300,9 @@ public class SslHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
SSLException e = new SSLException("handshake timed out");
|
SSLException e = new SSLException("handshake timed out");
|
||||||
if ( future.setFailure(e) ){
|
if (future.setFailure(e)) {
|
||||||
ctx.fireExceptionCaught(e);
|
ctx.fireExceptionCaught(e);
|
||||||
ctx.close();
|
ctx.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, handshakeTimeoutMillis, TimeUnit.MILLISECONDS);
|
}, handshakeTimeoutMillis, TimeUnit.MILLISECONDS);
|
||||||
@ -321,9 +321,9 @@ public class SslHandler
|
|||||||
handshakeFutures.add(future);
|
handshakeFutures.add(future);
|
||||||
flush(ctx, ctx.newFuture());
|
flush(ctx, ctx.newFuture());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if ( future.setFailure(e) ) {
|
if (future.setFailure(e)) {
|
||||||
ctx.fireExceptionCaught(e);
|
ctx.fireExceptionCaught(e);
|
||||||
ctx.close();
|
ctx.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user