Skip to content

Commit 89f8171

Browse files
author
Gary Gregory
committed
Javadoc: Add missing @SInCE 1.7.
1 parent 0ff2f24 commit 89f8171

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,7 @@ public String format(final Object... values) {
884884
* Returns true if and only if duplicate names are allowed in the headers.
885885
*
886886
* @return whether duplicate header names are allowed
887+
* @since 1.7
887888
*/
888889
public boolean getAllowDuplicateHeaderNames() {
889890
return allowDuplicateHeaderNames;
@@ -1691,7 +1692,8 @@ public CSVFormat withAllowDuplicateHeaderNames() {
16911692
* Returns a new {@code CSVFormat} with duplicate header names behavior set to the given value.
16921693
*
16931694
* @param allowDuplicateHeaderNames the duplicate header names behavior, true to allow, false to disallow.
1694-
* @return a new {@code CSVFormat} with duplicate header names behavior set to the given value
1695+
* @return a new {@code CSVFormat} with duplicate header names behavior set to the given value.
1696+
* @since 1.7
16951697
*/
16961698
public CSVFormat withAllowDuplicateHeaderNames(final boolean allowDuplicateHeaderNames) {
16971699
return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,

0 commit comments

Comments
 (0)