commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r903856 - in /commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io: DotTerminatedMessageWriter.java ToNetASCIIInputStream.java ToNetASCIIOutputStream.java
Date Wed, 27 Jan 2010 22:05:01 GMT
Author: sebb
Date: Wed Jan 27 22:05:00 2010
New Revision: 903856

URL: http://svn.apache.org/viewvc?rev=903856&view=rev
Log:
Document switch fallthrough

Modified:
    commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/DotTerminatedMessageWriter.java
    commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/ToNetASCIIInputStream.java
    commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/ToNetASCIIOutputStream.java

Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/DotTerminatedMessageWriter.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/DotTerminatedMessageWriter.java?rev=903856&r1=903855&r2=903856&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/DotTerminatedMessageWriter.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/DotTerminatedMessageWriter.java
Wed Jan 27 22:05:00 2010
@@ -93,7 +93,7 @@
                 // Double the dot at the beginning of a line
                 if (__state == __LAST_WAS_NL_STATE)
                     __output.write('.');
-                // Fall through
+                //$FALL-THROUGH$
             default:
                 __state = __NOTHING_SPECIAL_STATE;
                 __output.write(ch);

Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/ToNetASCIIInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/ToNetASCIIInputStream.java?rev=903856&r1=903855&r2=903856&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/ToNetASCIIInputStream.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/ToNetASCIIInputStream.java
Wed Jan 27 22:05:00 2010
@@ -86,7 +86,7 @@
                 __status = __LAST_WAS_NL;
                 return '\r';
             }
-            // else fall through
+            //$FALL-THROUGH$
         default:
             __status = __NOTHING_SPECIAL;
             return ch;

Modified: commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/ToNetASCIIOutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/ToNetASCIIOutputStream.java?rev=903856&r1=903855&r2=903856&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/ToNetASCIIOutputStream.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/main/java/org/apache/commons/net/io/ToNetASCIIOutputStream.java
Wed Jan 27 22:05:00 2010
@@ -74,7 +74,7 @@
         case '\n':
             if (!__lastWasCR)
                 out.write('\r');
-            // Fall through
+            //$FALL-THROUGH$
         default:
             __lastWasCR = false;
             out.write(ch);



Mime
View raw message