Skip to content

Commit e207fdd

Browse files
committed
Make private immutable fields final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/net/branches/NET_2_0@962935 13f79535-47bb-0310-9956-ffa450edef68
1 parent 971c066 commit e207fdd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/apache/commons/net/telnet/TelnetInputStream.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ final class TelnetInputStream extends BufferedInputStream implements Runnable
4242
private boolean __hasReachedEOF, __isClosed;
4343
private boolean __readIsWaiting;
4444
private int __receiveState, __queueHead, __queueTail, __bytesAvailable;
45-
private int[] __queue;
46-
private TelnetClient __client;
47-
private Thread __thread;
45+
private final int[] __queue;
46+
private final TelnetClient __client;
47+
private final Thread __thread;
4848
private IOException __ioException;
4949

5050
/* TERMINAL-TYPE option (start)*/
51-
private int __suboption[] = new int[256];
51+
private final int __suboption[] = new int[256];
5252
private int __suboption_count = 0;
5353
/* TERMINAL-TYPE option (end)*/
5454

0 commit comments

Comments
 (0)