File tree 2 files changed +1
-2
lines changed
instrumentation/netty-4.0/src/test/groovy
testing/src/main/groovy/datadog/trace/agent/test/base
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import io.netty.handler.codec.http.HttpRequest
26
26
import io.netty.handler.codec.http.HttpRequestDecoder
27
27
import io.netty.handler.codec.http.HttpResponseEncoder
28
28
import io.netty.handler.codec.http.HttpResponseStatus
29
- import io.netty.handler.codec.http.HttpServerCodec
30
29
import io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame
31
30
import io.netty.handler.codec.http.websocketx.CloseWebSocketFrame
32
31
import 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 {
99
99
100
100
byte [][] split (byte [] src ) {
101
101
if (chunkSize <= 0 ) {
102
- new byte [][]{src}
102
+ return new byte [][]{src}
103
103
}
104
104
def ret = new byte [(int ) Math . ceil(src. length / chunkSize)][]
105
105
def offset = 0
You can’t perform that action at this time.
0 commit comments