Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 739AC200B32 for ; Thu, 23 Jun 2016 21:41:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 72439160A59; Thu, 23 Jun 2016 19:41:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BA9F0160A35 for ; Thu, 23 Jun 2016 21:41:12 +0200 (CEST) Received: (qmail 95739 invoked by uid 500); 23 Jun 2016 19:41:12 -0000 Mailing-List: contact commits-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list commits@hc.apache.org Received: (qmail 95730 invoked by uid 99); 23 Jun 2016 19:41:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2016 19:41:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 52D971A571B for ; Thu, 23 Jun 2016 19:41:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.426 X-Spam-Level: X-Spam-Status: No, score=-0.426 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id R2Nklzqf0cp8 for ; Thu, 23 Jun 2016 19:41:10 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id E2B1C5F245 for ; Thu, 23 Jun 2016 19:41:09 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 90445E002B for ; Thu, 23 Jun 2016 19:41:08 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 8C6F53A17CA for ; Thu, 23 Jun 2016 19:41:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1749988 - /httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java Date: Thu, 23 Jun 2016 19:41:08 -0000 To: commits@hc.apache.org From: ggregory@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160623194108.8C6F53A17CA@svn01-us-west.apache.org> archived-at: Thu, 23 Jun 2016 19:41:13 -0000 Author: ggregory Date: Thu Jun 23 19:41:08 2016 New Revision: 1749988 URL: http://svn.apache.org/viewvc?rev=1749988&view=rev Log: Add final modifier to local variables. Modified: httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java Modified: httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java?rev=1749988&r1=1749987&r2=1749988&view=diff ============================================================================== --- httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java (original) +++ httpcomponents/httpcore/branches/4.4.x/httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTruncatedChunks.java Thu Jun 23 19:41:08 2016 @@ -115,7 +115,7 @@ public class TestTruncatedChunks extends @Override public int write(final ByteBuffer src) throws IOException { - int chunk; + final int chunk; if (!this.done) { this.lineBuffer.clear(); this.lineBuffer.append(Integer.toHexString(GARBAGE.length * 10));