commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1602903 - in /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv: CSVFormat.java CSVParser.java
Date Mon, 16 Jun 2014 15:44:47 GMT
Author: ggregory
Date: Mon Jun 16 15:44:47 2014
New Revision: 1602903

URL: http://svn.apache.org/r1602903
Log:
Checkstyle: Line has trailing spaces.

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.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=1602903&r1=1602902&r2=1602903&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 Mon Jun 16
15:44:47 2014
@@ -299,7 +299,7 @@ public final class CSVFormat implements 
             final Quote quotePolicy, final Character commentStart,
             final Character escape, final boolean ignoreSurroundingSpaces,
             final boolean ignoreEmptyLines, final String recordSeparator,
-            final String nullString, final String[] header, final boolean skipHeaderRecord,

+            final String nullString, final String[] header, final boolean skipHeaderRecord,
             final boolean ignoreEmptyHeaders) {
         if (isLineBreak(delimiter)) {
             throw new IllegalArgumentException("The delimiter cannot be a line break");
@@ -732,7 +732,7 @@ public final class CSVFormat implements 
             throw new IllegalArgumentException("The comment start character cannot be a line
break");
         }
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 
@@ -750,7 +750,7 @@ public final class CSVFormat implements 
             throw new IllegalArgumentException("The delimiter cannot be a line break");
         }
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 
@@ -781,7 +781,7 @@ public final class CSVFormat implements 
             throw new IllegalArgumentException("The escape character cannot be a line break");
         }
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 
@@ -804,7 +804,7 @@ public final class CSVFormat implements 
      */
     public CSVFormat withHeader(final String... header) {
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 
@@ -818,7 +818,7 @@ public final class CSVFormat implements 
      */
     public CSVFormat withIgnoreEmptyHeaders(final boolean ignoreEmptyHeaders) {
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyHeaders, recordSeparator, nullString,
header, skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyHeaders, recordSeparator, nullString,
header, skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 
@@ -832,7 +832,7 @@ public final class CSVFormat implements 
      */
     public CSVFormat withIgnoreEmptyLines(final boolean ignoreEmptyLines) {
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 
@@ -846,7 +846,7 @@ public final class CSVFormat implements 
      */
     public CSVFormat withIgnoreSurroundingSpaces(final boolean ignoreSurroundingSpaces) {
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 
@@ -867,7 +867,7 @@ public final class CSVFormat implements 
      */
     public CSVFormat withNullString(final String nullString) {
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 
@@ -898,7 +898,7 @@ public final class CSVFormat implements 
             throw new IllegalArgumentException("The quoteChar cannot be a line break");
         }
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 
@@ -912,7 +912,7 @@ public final class CSVFormat implements 
      */
     public CSVFormat withQuotePolicy(final Quote quotePolicy) {
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 
@@ -938,7 +938,7 @@ public final class CSVFormat implements 
      */
     public CSVFormat withRecordSeparator(final String recordSeparator) {
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 
@@ -953,7 +953,7 @@ public final class CSVFormat implements 
      */
     public CSVFormat withSkipHeaderRecord(final boolean skipHeaderRecord) {
         return new CSVFormat(delimiter, quoteChar, quotePolicy, commentStart, escape,
-                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord, 
+                ignoreSurroundingSpaces, ignoreEmptyLines, recordSeparator, nullString, header,
skipHeaderRecord,
                 ignoreEmptyHeaders);
     }
 }

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java?rev=1602903&r1=1602902&r2=1602903&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVParser.java Mon Jun 16
15:44:47 2014
@@ -143,7 +143,7 @@ public final class CSVParser implements 
      *
      * @param file
      *            a CSV file. Must not be null.
-     * @param charset 
+     * @param charset
      *            A charset
      * @param format
      *            the CSVFormat used for CSV parsing. Must not be null.



Mime
View raw message