Remove trailing white spaces

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742145 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2016-05-03 17:29:04 +00:00
parent 8cf9ff25a7
commit 63ddb09152
1 changed files with 8 additions and 8 deletions

View File

@ -150,7 +150,7 @@ public final class CSVFormat implements Serializable {
/** /**
* Predefines formats. * Predefines formats.
* *
* @since 1.2 * @since 1.2
*/ */
public static enum Predefined { public static enum Predefined {
@ -200,7 +200,7 @@ public final class CSVFormat implements Serializable {
/** /**
* Gets the format. * Gets the format.
* *
* @return the format. * @return the format.
*/ */
public CSVFormat getFormat() { public CSVFormat getFormat() {
@ -220,7 +220,7 @@ public final class CSVFormat implements Serializable {
* <li>withRecordSeparator("\r\n")</li> * <li>withRecordSeparator("\r\n")</li>
* <li>withIgnoreEmptyLines(true)</li> * <li>withIgnoreEmptyLines(true)</li>
* </ul> * </ul>
* *
* @see Predefined#Default * @see Predefined#Default
*/ */
public static final CSVFormat DEFAULT = new CSVFormat(COMMA, DOUBLE_QUOTE_CHAR, null, null, null, false, true, CRLF, 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 Serializable {
* Note: this is currently like {@link #RFC4180} plus {@link #withAllowMissingColumnNames(boolean) * Note: this is currently like {@link #RFC4180} plus {@link #withAllowMissingColumnNames(boolean)
* withAllowMissingColumnNames(true)}. * withAllowMissingColumnNames(true)}.
* </p> * </p>
* *
* @see Predefined#Excel * @see Predefined#Excel
*/ */
public static final CSVFormat EXCEL = DEFAULT.withIgnoreEmptyLines(false).withAllowMissingColumnNames(); public static final CSVFormat EXCEL = DEFAULT.withIgnoreEmptyLines(false).withAllowMissingColumnNames();
@ -349,7 +349,7 @@ public final class CSVFormat implements Serializable {
* <li>withRecordSeparator("\r\n")</li> * <li>withRecordSeparator("\r\n")</li>
* <li>withIgnoreEmptyLines(false)</li> * <li>withIgnoreEmptyLines(false)</li>
* </ul> * </ul>
* *
* @see Predefined#RFC4180 * @see Predefined#RFC4180
*/ */
public static final CSVFormat RFC4180 = DEFAULT.withIgnoreEmptyLines(false); public static final CSVFormat RFC4180 = DEFAULT.withIgnoreEmptyLines(false);
@ -368,7 +368,7 @@ public final class CSVFormat implements Serializable {
* <li>withRecordSeparator("\r\n")</li> * <li>withRecordSeparator("\r\n")</li>
* <li>withIgnoreSurroundingSpaces(true)</li> * <li>withIgnoreSurroundingSpaces(true)</li>
* </ul> * </ul>
* *
* @see Predefined#TDF * @see Predefined#TDF
*/ */
public static final CSVFormat TDF = DEFAULT.withDelimiter(TAB).withIgnoreSurroundingSpaces(); public static final CSVFormat TDF = DEFAULT.withDelimiter(TAB).withIgnoreSurroundingSpaces();
@ -424,7 +424,7 @@ public final class CSVFormat implements Serializable {
/** /**
* Gets one of the predefined formats from {@link CSVFormat.Predefined}. * Gets one of the predefined formats from {@link CSVFormat.Predefined}.
* *
* @param format * @param format
* name * name
* @return one of the predefined formats * @return one of the predefined formats
@ -523,7 +523,7 @@ public final class CSVFormat implements Serializable {
this.skipHeaderRecord = skipHeaderRecord; this.skipHeaderRecord = skipHeaderRecord;
this.ignoreHeaderCase = ignoreHeaderCase; this.ignoreHeaderCase = ignoreHeaderCase;
this.trailingDelimiter = trailingDelimiter; this.trailingDelimiter = trailingDelimiter;
this.trim = trim; this.trim = trim;
validate(); validate();
} }