commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
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 GMT
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)*/
 



Mime
View raw message