This is an automated email from the ASF dual-hosted git repository.
(unknown) pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-zipkin.git
The following commit(s) were added to refs/heads/master by this push:
new dde769d Small style fix. (#2578)
dde769d is described below
commit dde769db4bb66f33ada3becf1d58cc85419b7fa1
Author: Anuraag Agrawal <[email protected]>
AuthorDate: Fri May 10 15:39:21 2019 +0900
Small style fix. (#2578)
---
.../src/main/java/zipkin2/collector/scribe/ScribeInboundHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/zipkin-collector/scribe/src/main/java/zipkin2/collector/scribe/ScribeInboundHandler.java
b/zipkin-collector/scribe/src/main/java/zipkin2/collector/scribe/ScribeInboundHandler.java
index ef11a63..44b0d83 100644
---
a/zipkin-collector/scribe/src/main/java/zipkin2/collector/scribe/ScribeInboundHandler.java
+++
b/zipkin-collector/scribe/src/main/java/zipkin2/collector/scribe/ScribeInboundHandler.java
@@ -161,7 +161,7 @@ final class ScribeInboundHandler extends
ChannelInboundHandlerAdapter {
if (content instanceof ByteBufHolder) {
ByteBuf buf = ((ByteBufHolder) content).content();
try {
- returned.writeBytes(((ByteBufHolder) content).content());
+ returned.writeBytes(buf);
} finally {
buf.release();
}