commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1298223 - /commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
Date Wed, 07 Mar 2012 23:41:14 GMT
Author: sebb
Date: Wed Mar  7 23:41:14 2012
New Revision: 1298223

URL: http://svn.apache.org/viewvc?rev=1298223&view=rev
Log:
Stop Eclipse complaining about fall-through

Modified:
    commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java

Modified: commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
URL: http://svn.apache.org/viewvc/commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java?rev=1298223&r1=1298222&r2=1298223&view=diff
==============================================================================
--- commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java (original)
+++ commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java Wed Mar
 7 23:41:14 2012
@@ -110,8 +110,8 @@ public class CSVPrinter {
                     if (i + 1 < comment.length() && comment.charAt(i + 1) == '\n')
{
                         i++;
                     }
-                    // break intentionally excluded.
-                case '\n':
+                //$FALL-THROUGH$ break intentionally excluded.
+            case '\n':
                     println();
                     out.append(format.getCommentStart());
                     out.append(' ');



Mime
View raw message