Fix another compilation error

This commit is contained in:
Trustin Lee 2013-06-20 15:45:47 +09:00
parent 39d71440e1
commit 58c33d71db

View File

@ -27,8 +27,8 @@ import io.netty.channel.socket.SocketChannel;
import io.netty.handler.codec.LineBasedFrameDecoder;
import io.netty.handler.codec.string.StringDecoder;
import io.netty.handler.codec.string.StringEncoder;
import io.netty.handler.logging.ByteLoggingHandler;
import io.netty.handler.logging.LogLevel;
import io.netty.handler.logging.LoggingHandler;
import io.netty.handler.ssl.SslHandler;
import io.netty.testsuite.util.BogusSslContextFactory;
import io.netty.util.concurrent.DefaultEventExecutorGroup;
@ -76,7 +76,7 @@ public class SocketStartTlsTest extends AbstractSocketTest {
@Override
public void initChannel(SocketChannel sch) throws Exception {
ChannelPipeline p = sch.pipeline();
p.addLast("logger", new ByteLoggingHandler(LOG_LEVEL));
p.addLast("logger", new LoggingHandler(LOG_LEVEL));
p.addLast(new LineBasedFrameDecoder(64), new StringDecoder(), new StringEncoder());
p.addLast(executor, sh);
}
@ -86,7 +86,7 @@ public class SocketStartTlsTest extends AbstractSocketTest {
@Override
public void initChannel(SocketChannel sch) throws Exception {
ChannelPipeline p = sch.pipeline();
p.addLast("logger", new ByteLoggingHandler(LOG_LEVEL));
p.addLast("logger", new LoggingHandler(LOG_LEVEL));
p.addLast(new LineBasedFrameDecoder(64), new StringDecoder(), new StringEncoder());
p.addLast(executor, ch);
}