|
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 | * |
@@ -1463,10 +1463,10 @@ public boolean getAllowDuplicateHeaderNames() { |
1463 | 1463 | } |
1464 | 1464 |
|
1465 | 1465 | /** |
1466 | | - * Returns how duplicate headers are handled. |
| 1466 | + * Gets how duplicate headers are handled. |
1467 | 1467 | * |
1468 | 1468 | * @return if duplicate header values are allowed, allowed conditionally, or disallowed. |
1469 | | - * @since 1.9 |
| 1469 | + * @since 1.9.0 |
1470 | 1470 | */ |
1471 | 1471 | public DuplicateHeaderMode getDuplicateHeaderMode() { |
1472 | 1472 | return duplicateHeaderMode; |
|
0 commit comments