From commits-return-1093-archive-asf-public=cust-asf.ponee.io@zipkin.apache.org Fri May 10 06:39:30 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 929F718061A for ; Fri, 10 May 2019 08:39:30 +0200 (CEST) Received: (qmail 23475 invoked by uid 500); 10 May 2019 06:39:26 -0000 Mailing-List: contact commits-help@zipkin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zipkin.apache.org Delivered-To: mailing list commits@zipkin.apache.org Received: (qmail 23466 invoked by uid 99); 10 May 2019 06:39:26 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 May 2019 06:39:26 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 8AC0B872E3; Fri, 10 May 2019 06:39:26 +0000 (UTC) Date: Fri, 10 May 2019 06:39:26 +0000 To: "commits@zipkin.apache.org" Subject: [incubator-zipkin] branch master updated: Small style fix. (#2578) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155747036641.4135.16794411568747444802@gitbox.apache.org> From: unknown <""@apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-zipkin X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: d1792430d0922e36be00431c682db918b29cceb6 X-Git-Newrev: dde769db4bb66f33ada3becf1d58cc85419b7fa1 X-Git-Rev: dde769db4bb66f33ada3becf1d58cc85419b7fa1 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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(); }