Fix a compilation error

This commit is contained in:
Trustin Lee 2015-01-09 16:00:26 +09:00
parent feacf128ca
commit cc7b72c78f

View File

@ -271,9 +271,6 @@ public class SslHandler extends ByteToMessageDecoder implements ChannelOutboundH
*/
@Deprecated
public SslHandler(SSLEngine engine, boolean startTls, Executor delegatedTaskExecutor) {
// As SslEngine.unwrap(....) only works with one ByteBuffer we should not try to use a CompositeByteBuf
// at the first place to make it as fast as possible.
super(false);
if (engine == null) {
throw new NullPointerException("engine");
}