Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 56709 invoked from network); 10 Jul 2010 22:48:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jul 2010 22:48:01 -0000 Received: (qmail 91058 invoked by uid 500); 10 Jul 2010 22:48:01 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 90940 invoked by uid 500); 10 Jul 2010 22:48:00 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 90933 invoked by uid 99); 10 Jul 2010 22:48:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jul 2010 22:48:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Jul 2010 22:47:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 05E3A2388A36; Sat, 10 Jul 2010 22:46:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r962935 - /commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java Date: Sat, 10 Jul 2010 22:46:34 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100710224635.05E3A2388A36@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Sat Jul 10 22:46:34 2010 New Revision: 962935 URL: http://svn.apache.org/viewvc?rev=962935&view=rev Log: Make private immutable fields final Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java?rev=962935&r1=962934&r2=962935&view=diff ============================================================================== --- commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java (original) +++ commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java Sat Jul 10 22:46:34 2010 @@ -42,13 +42,13 @@ final class TelnetInputStream extends Bu private boolean __hasReachedEOF, __isClosed; private boolean __readIsWaiting; private int __receiveState, __queueHead, __queueTail, __bytesAvailable; - private int[] __queue; - private TelnetClient __client; - private Thread __thread; + private final int[] __queue; + private final TelnetClient __client; + private final Thread __thread; private IOException __ioException; /* TERMINAL-TYPE option (start)*/ - private int __suboption[] = new int[256]; + private final int __suboption[] = new int[256]; private int __suboption_count = 0; /* TERMINAL-TYPE option (end)*/