Fix a compilation error
This commit is contained in:
parent
50af9b916c
commit
cb7ab1f6a4
@ -271,9 +271,6 @@ public class SslHandler extends ByteToMessageDecoder implements ChannelOutboundH
|
|||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public SslHandler(SSLEngine engine, boolean startTls, Executor delegatedTaskExecutor) {
|
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) {
|
if (engine == null) {
|
||||||
throw new NullPointerException("engine");
|
throw new NullPointerException("engine");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user