Fix checkstyle

This commit is contained in:
Norman Maurer 2012-10-13 09:21:40 +02:00
parent e9d2ebea3d
commit d504d78cb1

View File

@ -300,7 +300,7 @@ public class SslHandler
}
SSLException e = new SSLException("handshake timed out");
if ( future.setFailure(e) ){
if (future.setFailure(e)) {
ctx.fireExceptionCaught(e);
ctx.close();
}
@ -321,7 +321,7 @@ public class SslHandler
handshakeFutures.add(future);
flush(ctx, ctx.newFuture());
} catch (Exception e) {
if ( future.setFailure(e) ) {
if (future.setFailure(e)) {
ctx.fireExceptionCaught(e);
ctx.close();
}