Skip to content

Commit 09bfdc1

Browse files
committed
Javadoc
1 parent 820f60d commit 09bfdc1

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,9 @@ public Builder setHeader(final ResultSetMetaData resultSetMetaData) throws SQLEx
612612
* <p>
613613
* The header is also used by the {@link CSVPrinter}.
614614
* </p>
615-
*
615+
* <p>
616+
* This method keeps a copy of the input array.
617+
* </p>
616618
* @param header the header, {@code null} if disabled, empty if parsed automatically, user-specified otherwise.
617619
* @return This instance.
618620
*/
@@ -650,6 +652,9 @@ public Builder setHeader(final String... header) {
650652
* # Generated by Apache Commons CSV.
651653
* # 1970-01-01T00:00:00Z
652654
* </pre>
655+
* <p>
656+
* This method keeps a copy of the input array.
657+
* </p>
653658
*
654659
* @param headerComments the headerComments which will be printed by the Printer before the CSV data.
655660
* @return This instance.
@@ -688,7 +693,9 @@ public Builder setHeaderComments(final Object... headerComments) {
688693
* # Generated by Apache Commons CSV.
689694
* # 1970-01-01T00:00:00Z
690695
* </pre>
691-
*
696+
* <p>
697+
* This method keeps a copy of the input array.
698+
* </p>
692699
* @param headerComments the headerComments which will be printed by the Printer before the CSV data.
693700
* @return This instance.
694701
*/

0 commit comments

Comments
 (0)