You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/03/20 13:39:19 UTC

svn commit: r1458794 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java

Author: britter
Date: Wed Mar 20 12:39:18 2013
New Revision: 1458794

URL: http://svn.apache.org/r1458794
Log:
Format lines that are longer than 120 characters

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1458794&r1=1458793&r2=1458794&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java Wed Mar 20 12:39:18 2013
@@ -580,25 +580,28 @@ public class CSVFormat implements Serial
          */
         private void validate() throws IllegalStateException {
             if (quoteChar != null && delimiter == quoteChar.charValue()) {
-                throw new IllegalStateException("The quoteChar character and the delimiter cannot be the same ('" + quoteChar + "')");
+                throw new IllegalStateException(
+                        "The quoteChar character and the delimiter cannot be the same ('" + quoteChar + "')");
             }
 
             if (escape != null && delimiter == escape.charValue()) {
-                throw new IllegalStateException("The escape character and the delimiter cannot be the same ('" + escape + "')");
+                throw new IllegalStateException(
+                        "The escape character and the delimiter cannot be the same ('" + escape + "')");
             }
 
             if (commentStart != null && delimiter == commentStart.charValue()) {
-                throw new IllegalStateException("The comment start character and the delimiter cannot be the same ('" + commentStart +
-                        "')");
+                throw new IllegalStateException(
+                        "The comment start character and the delimiter cannot be the same ('" + commentStart + "')");
             }
 
             if (quoteChar != null && quoteChar.equals(commentStart)) {
-                throw new IllegalStateException("The comment start character and the quoteChar cannot be the same ('" + commentStart +
-                        "')");
+                throw new IllegalStateException(
+                        "The comment start character and the quoteChar cannot be the same ('" + commentStart + "')");
             }
 
             if (escape != null && escape.equals(commentStart)) {
-                throw new IllegalStateException("The comment start and the escape character cannot be the same ('" + commentStart + "')");
+                throw new IllegalStateException(
+                        "The comment start and the escape character cannot be the same ('" + commentStart + "')");
             }
 
             if (escape == null && quotePolicy == Quote.NONE) {