commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1076508 - /commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java
Date Thu, 03 Mar 2011 02:54:13 GMT
Author: sebb
Date: Thu Mar  3 02:54:12 2011
New Revision: 1076508

URL: http://svn.apache.org/viewvc?rev=1076508&view=rev
Log:
Javadoc

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java?rev=1076508&r1=1076507&r2=1076508&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetOutputStream.java
Thu Mar  3 02:54:12 2011
@@ -74,7 +74,7 @@ final class TelnetOutputStream extends O
                         }
                     } // __convertCRtoCRLF
                     else if (ch != '\n')
-                        __client._sendByte('\0'); // TODO - why add padding?
+                        __client._sendByte('\0'); // RFC854 requires CR NUL for bare CR
                 }
 
                 __lastWasCR = false;



Mime
View raw message