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 2016/05/03 19:29:04 UTC
svn commit: r1742145 -
/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
Author: britter
Date: Tue May 3 17:29:04 2016
New Revision: 1742145
URL: http://svn.apache.org/viewvc?rev=1742145&view=rev
Log:
Remove trailing white spaces
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=1742145&r1=1742144&r2=1742145&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 Tue May 3 17:29:04 2016
@@ -150,7 +150,7 @@ public final class CSVFormat implements
/**
* Predefines formats.
- *
+ *
* @since 1.2
*/
public static enum Predefined {
@@ -200,7 +200,7 @@ public final class CSVFormat implements
/**
* Gets the format.
- *
+ *
* @return the format.
*/
public CSVFormat getFormat() {
@@ -220,7 +220,7 @@ public final class CSVFormat implements
* <li>withRecordSeparator("\r\n")</li>
* <li>withIgnoreEmptyLines(true)</li>
* </ul>
- *
+ *
* @see Predefined#Default
*/
public static final CSVFormat DEFAULT = new CSVFormat(COMMA, DOUBLE_QUOTE_CHAR, null, null, null, false, true, CRLF,
@@ -252,7 +252,7 @@ public final class CSVFormat implements
* Note: this is currently like {@link #RFC4180} plus {@link #withAllowMissingColumnNames(boolean)
* withAllowMissingColumnNames(true)}.
* </p>
- *
+ *
* @see Predefined#Excel
*/
public static final CSVFormat EXCEL = DEFAULT.withIgnoreEmptyLines(false).withAllowMissingColumnNames();
@@ -349,7 +349,7 @@ public final class CSVFormat implements
* <li>withRecordSeparator("\r\n")</li>
* <li>withIgnoreEmptyLines(false)</li>
* </ul>
- *
+ *
* @see Predefined#RFC4180
*/
public static final CSVFormat RFC4180 = DEFAULT.withIgnoreEmptyLines(false);
@@ -368,7 +368,7 @@ public final class CSVFormat implements
* <li>withRecordSeparator("\r\n")</li>
* <li>withIgnoreSurroundingSpaces(true)</li>
* </ul>
- *
+ *
* @see Predefined#TDF
*/
public static final CSVFormat TDF = DEFAULT.withDelimiter(TAB).withIgnoreSurroundingSpaces();
@@ -424,7 +424,7 @@ public final class CSVFormat implements
/**
* Gets one of the predefined formats from {@link CSVFormat.Predefined}.
- *
+ *
* @param format
* name
* @return one of the predefined formats
@@ -523,7 +523,7 @@ public final class CSVFormat implements
this.skipHeaderRecord = skipHeaderRecord;
this.ignoreHeaderCase = ignoreHeaderCase;
this.trailingDelimiter = trailingDelimiter;
- this.trim = trim;
+ this.trim = trim;
validate();
}