Fix line length in TCPTransportTests

Makes checkstyle happy
This commit is contained in:
Yannick Welsch 2016-11-14 16:55:14 +01:00
parent d42f7eec61
commit d3e97ce6cd
1 changed files with 2 additions and 1 deletions

View File

@ -187,7 +187,8 @@ public class TCPTransportTests extends ESTestCase {
called.compareAndSet(false, true);
if (compressed) {
final int bytesConsumed = TcpHeader.HEADER_SIZE;
streamIn = CompressorFactory.compressor(reference.slice(bytesConsumed, reference.length() - bytesConsumed)).streamInput(streamIn);
streamIn = CompressorFactory.compressor(reference.slice(bytesConsumed, reference.length() - bytesConsumed))
.streamInput(streamIn);
}
threadPool.getThreadContext().readHeaders(streamIn);
assertEquals("foobar", streamIn.readString());