File tree Expand file tree Collapse file tree
instrumentation/netty-4.0/src/test/groovy
testing/src/main/groovy/datadog/trace/agent/test/base Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import io.netty.handler.codec.http.HttpRequest
2626import io.netty.handler.codec.http.HttpRequestDecoder
2727import io.netty.handler.codec.http.HttpResponseEncoder
2828import io.netty.handler.codec.http.HttpResponseStatus
29- import io.netty.handler.codec.http.HttpServerCodec
3029import io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame
3130import io.netty.handler.codec.http.websocketx.CloseWebSocketFrame
3231import io.netty.handler.codec.http.websocketx.ContinuationWebSocketFrame
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class NettyWebsocketClient implements WebsocketClient {
9999
100100 byte [][] split (byte [] src ) {
101101 if (chunkSize <= 0 ) {
102- new byte [][]{src}
102+ return new byte [][]{src}
103103 }
104104 def ret = new byte [(int ) Math . ceil(src. length / chunkSize)][]
105105 def offset = 0
You can’t perform that action at this time.
0 commit comments