commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r962817 - /commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/nntp/NNTPReply.java
Date Sat, 10 Jul 2010 11:50:36 GMT
Author: sebb
Date: Sat Jul 10 11:50:36 2010
New Revision: 962817

URL: http://svn.apache.org/viewvc?rev=962817&view=rev
Log:
Restore API compatibility

Modified:
    commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/nntp/NNTPReply.java

Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/nntp/NNTPReply.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/nntp/NNTPReply.java?rev=962817&r1=962816&r2=962817&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/nntp/NNTPReply.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/nntp/NNTPReply.java
Sat Jul 10 11:50:36 2010
@@ -32,6 +32,7 @@ package org.apache.commons.net.nntp;
 public final class NNTPReply
 {
 
+    // TODO - drop all these numeric constants?
     public static final int CODE_100 = 100;
     public static final int CODE_199 = 199;
     public static final int CODE_200 = 200;
@@ -53,6 +54,7 @@ public final class NNTPReply
     public static final int CODE_340 = 340;
     public static final int CODE_381 = 381;
     public static final int CODE_400 = 400;
+    public static final int CODE_408 = 408; // Not actually needed; kept for API compatibility
     public static final int CODE_411 = 411;
     public static final int CODE_412 = 412;
     public static final int CODE_420 = 420;



Mime
View raw message