Javadoc: Add missing @since 1.7.

This commit is contained in:
Gary Gregory 2019-05-28 23:47:29 -04:00
parent 0ff2f24499
commit 89f8171215
1 changed files with 3 additions and 1 deletions

View File

@ -884,6 +884,7 @@ public final class CSVFormat implements Serializable {
* Returns true if and only if duplicate names are allowed in the headers. * Returns true if and only if duplicate names are allowed in the headers.
* *
* @return whether duplicate header names are allowed * @return whether duplicate header names are allowed
* @since 1.7
*/ */
public boolean getAllowDuplicateHeaderNames() { public boolean getAllowDuplicateHeaderNames() {
return allowDuplicateHeaderNames; return allowDuplicateHeaderNames;
@ -1691,7 +1692,8 @@ public final class CSVFormat implements Serializable {
* Returns a new {@code CSVFormat} with duplicate header names behavior set to the given value. * Returns a new {@code CSVFormat} with duplicate header names behavior set to the given value.
* *
* @param allowDuplicateHeaderNames the duplicate header names behavior, true to allow, false to disallow. * @param allowDuplicateHeaderNames the duplicate header names behavior, true to allow, false to disallow.
* @return a new {@code CSVFormat} with duplicate header names behavior set to the given value * @return a new {@code CSVFormat} with duplicate header names behavior set to the given value.
* @since 1.7
*/ */
public CSVFormat withAllowDuplicateHeaderNames(final boolean allowDuplicateHeaderNames) { public CSVFormat withAllowDuplicateHeaderNames(final boolean allowDuplicateHeaderNames) {
return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter, return new CSVFormat(delimiter, quoteCharacter, quoteMode, commentMarker, escapeCharacter,