commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r637691 - /commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetOption.java
Date Sun, 16 Mar 2008 23:43:26 GMT
Author: sebb
Date: Sun Mar 16 16:43:25 2008
New Revision: 637691

URL: http://svn.apache.org/viewvc?rev=637691&view=rev
Log:
NET-196 - make constants final

Modified:
    commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetOption.java

Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetOption.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetOption.java?rev=637691&r1=637690&r2=637691&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetOption.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/telnet/TelnetOption.java
Sun Mar 16 16:43:25 2008
@@ -86,7 +86,7 @@
 
     public static final int END_OF_RECORD = 25;
 
-    public static int TACACS_USER_IDENTIFICATION = 26;
+    public static final int TACACS_USER_IDENTIFICATION = 26;
 
     public static final int OUTPUT_MARKING = 27;
 
@@ -116,8 +116,8 @@
 
     public static final int EXTENDED_OPTIONS_LIST = 255;
 
-    private static int __FIRST_OPTION = BINARY;
-    private static int __LAST_OPTION = EXTENDED_OPTIONS_LIST;
+    private static final int __FIRST_OPTION = BINARY;
+    private static final int __LAST_OPTION = EXTENDED_OPTIONS_LIST;
 
     private static final String __optionString[] = {
                 "BINARY", "ECHO", "RCP", "SUPPRESS GO AHEAD", "NAME", "STATUS",



Mime
View raw message