|
17 | 17 |
|
18 | 18 | package org.apache.commons.csv; |
19 | 19 |
|
| 20 | +import static org.apache.commons.csv.Constants.BACKSLASH; |
| 21 | +import static org.apache.commons.csv.Constants.COMMA; |
| 22 | +import static org.apache.commons.csv.Constants.COMMENT; |
| 23 | +import static org.apache.commons.csv.Constants.CR; |
| 24 | +import static org.apache.commons.csv.Constants.CRLF; |
| 25 | +import static org.apache.commons.csv.Constants.DOUBLE_QUOTE_CHAR; |
| 26 | +import static org.apache.commons.csv.Constants.EMPTY; |
| 27 | +import static org.apache.commons.csv.Constants.LF; |
| 28 | +import static org.apache.commons.csv.Constants.PIPE; |
| 29 | +import static org.apache.commons.csv.Constants.SP; |
| 30 | +import static org.apache.commons.csv.Constants.TAB; |
| 31 | + |
20 | 32 | import java.io.File; |
21 | 33 | import java.io.FileOutputStream; |
22 | 34 | import java.io.IOException; |
|
36 | 48 | import java.util.Objects; |
37 | 49 | import java.util.Set; |
38 | 50 |
|
39 | | -import static org.apache.commons.csv.Constants.BACKSLASH; |
40 | | -import static org.apache.commons.csv.Constants.COMMA; |
41 | | -import static org.apache.commons.csv.Constants.COMMENT; |
42 | | -import static org.apache.commons.csv.Constants.CR; |
43 | | -import static org.apache.commons.csv.Constants.CRLF; |
44 | | -import static org.apache.commons.csv.Constants.DOUBLE_QUOTE_CHAR; |
45 | | -import static org.apache.commons.csv.Constants.EMPTY; |
46 | | -import static org.apache.commons.csv.Constants.LF; |
47 | | -import static org.apache.commons.csv.Constants.PIPE; |
48 | | -import static org.apache.commons.csv.Constants.SP; |
49 | | -import static org.apache.commons.csv.Constants.TAB; |
50 | | - |
51 | 51 | /** |
52 | 52 | * Specifies the format of a CSV file and parses input. |
53 | 53 | * |
@@ -1473,10 +1473,10 @@ public boolean getAllowDuplicateHeaderNames() { |
1473 | 1473 | } |
1474 | 1474 |
|
1475 | 1475 | /** |
1476 | | - * Returns how duplicate headers are handled. |
| 1476 | + * Gets how duplicate headers are handled. |
1477 | 1477 | * |
1478 | 1478 | * @return if duplicate header values are allowed, allowed conditionally, or disallowed. |
1479 | | - * @since 1.9 |
| 1479 | + * @since 1.9.0 |
1480 | 1480 | */ |
1481 | 1481 | public DuplicateHeaderMode getDuplicateHeaderMode() { |
1482 | 1482 | return duplicateHeaderMode; |
|
0 commit comments