Author: sebb
Date: Wed Apr  6 10:38:41 2011
New Revision: 1089392

URL: http://svn.apache.org/viewvc?rev=1089392&view=rev
Log:
Use real integers rather than constants

Modified:
    
commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPReply.java

Modified: 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPReply.java
URL: 
http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPReply.java?rev=1089392&r1=1089391&r2=1089392&view=diff
==============================================================================
--- 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPReply.java
 (original)
+++ 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPReply.java
 Wed Apr  6 10:38:41 2011
@@ -54,27 +54,27 @@ public final class SMTPReply
     public static final int CODE_553 = 553;
     public static final int CODE_554 = 554;
 
-    public static final int SYSTEM_STATUS = CODE_211;
-    public static final int HELP_MESSAGE = CODE_214;
-    public static final int SERVICE_READY = CODE_220;
-    public static final int SERVICE_CLOSING_TRANSMISSION_CHANNEL = CODE_221;
-    public static final int ACTION_OK = CODE_250;
-    public static final int USER_NOT_LOCAL_WILL_FORWARD = CODE_251;
-    public static final int START_MAIL_INPUT = CODE_354;
-    public static final int SERVICE_NOT_AVAILABLE = CODE_421;
-    public static final int ACTION_NOT_TAKEN = CODE_450;
-    public static final int ACTION_ABORTED = CODE_451;
-    public static final int INSUFFICIENT_STORAGE = CODE_452;
-    public static final int UNRECOGNIZED_COMMAND = CODE_500;
-    public static final int SYNTAX_ERROR_IN_ARGUMENTS = CODE_501;
-    public static final int COMMAND_NOT_IMPLEMENTED = CODE_502;
-    public static final int BAD_COMMAND_SEQUENCE = CODE_503;
-    public static final int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER = CODE_504;
-    public static final int MAILBOX_UNAVAILABLE = CODE_550;
-    public static final int USER_NOT_LOCAL = CODE_551;
-    public static final int STORAGE_ALLOCATION_EXCEEDED = CODE_552;
-    public static final int MAILBOX_NAME_NOT_ALLOWED = CODE_553;
-    public static final int TRANSACTION_FAILED = CODE_554;
+    public static final int SYSTEM_STATUS = 211;
+    public static final int HELP_MESSAGE = 214;
+    public static final int SERVICE_READY = 220;
+    public static final int SERVICE_CLOSING_TRANSMISSION_CHANNEL = 221;
+    public static final int ACTION_OK = 250;
+    public static final int USER_NOT_LOCAL_WILL_FORWARD = 251;
+    public static final int START_MAIL_INPUT = 354;
+    public static final int SERVICE_NOT_AVAILABLE = 421;
+    public static final int ACTION_NOT_TAKEN = 450;
+    public static final int ACTION_ABORTED = 451;
+    public static final int INSUFFICIENT_STORAGE = 452;
+    public static final int UNRECOGNIZED_COMMAND = 500;
+    public static final int SYNTAX_ERROR_IN_ARGUMENTS = 501;
+    public static final int COMMAND_NOT_IMPLEMENTED = 502;
+    public static final int BAD_COMMAND_SEQUENCE = 503;
+    public static final int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER = 504;
+    public static final int MAILBOX_UNAVAILABLE = 550;
+    public static final int USER_NOT_LOCAL = 551;
+    public static final int STORAGE_ALLOCATION_EXCEEDED = 552;
+    public static final int MAILBOX_NAME_NOT_ALLOWED = 553;
+    public static final int TRANSACTION_FAILED = 554;
 
     // Cannot be instantiated
     private SMTPReply()


Reply via email to