Skip to content

Commit 5db1a2c

Browse files
committed
Make checkstyle happy: remove trailing white spaces, break line that was longer than 120 chars.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512623 13f79535-47bb-0310-9956-ffa450edef68
1 parent df7b7d3 commit 5db1a2c

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@
6262
* </p>
6363
* <pre>CSVFormat.EXCEL.withHeader(&quot;Col1&quot;, &quot;Col2&quot;, &quot;Col3&quot;);</pre>
6464
* <p>
65-
* Calling {@link #withHeader(String...)} let's you use the given names to address values in a {@link CSVRecord}, and
65+
* Calling {@link #withHeader(String...)} let's you use the given names to address values in a {@link CSVRecord}, and
6666
* assumes that your CSV source does not contain a first record that also defines column names. If it does, then
67-
* you are overriding this metadata with your names and you should skip the first record by calling
68-
* {@link #withSkipHeaderRecord(boolean)} with {@code true}.
67+
* you are overriding this metadata with your names and you should skip the first record by calling
68+
* {@link #withSkipHeaderRecord(boolean)} with {@code true}.
6969
* </p>
7070
* <h4>Parsing</h4>
7171
* <p>
@@ -78,19 +78,19 @@
7878
* </p>
7979
* <h4>Referencing columns safely</h4>
8080
* <p>
81-
* If your source contains a header record, you can simplify your code and safely reference columns,
81+
* If your source contains a header record, you can simplify your code and safely reference columns,
8282
* by using {@link #withHeader(String...)} with no arguments:
8383
* </p>
8484
* <pre>CSVFormat.EXCEL.withHeader();</pre>
8585
* <p>
8686
* This causes the parser to read the first record and use its values as column names.
8787
* Then, call one of the {@link CSVRecord} get method that takes a String column name argument:
88-
* </p>
88+
* </p>
8989
* <pre>String value = record.get(&quot;Col1&quot;);</pre>
9090
* <p>
9191
* This makes your code impervious to changes in column order in the CSV file.
9292
* </p>
93-
* <h4>Notes</h4>
93+
* <h4>Notes</h4>
9494
* <p>
9595
* This class is immutable.
9696
* </p>
@@ -125,7 +125,8 @@ public class CSVFormat implements Serializable {
125125
* <li>withIgnoreEmptyLines(true)</li>
126126
* </ul>
127127
*/
128-
public static final CSVFormat DEFAULT = new CSVFormat(COMMA, DOUBLE_QUOTE_CHAR, null, null, null, false, true, CRLF, null, null, false);
128+
public static final CSVFormat DEFAULT = new CSVFormat(COMMA, DOUBLE_QUOTE_CHAR, null, null, null,
129+
false, true, CRLF, null, null, false);
129130

130131
/**
131132
* Comma separated format as defined by <a href="http://tools.ietf.org/html/rfc4180">RFC 4180</a>.

0 commit comments

Comments
 (0)