Remove trailing whitespace
This commit is contained in:
parent
a8500ed54d
commit
a192e18471
|
@ -521,7 +521,7 @@ public final class CSVFormat implements Serializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Sets the header comments to the given values before the CSV data.
|
||||
* Sets the header comments to the given values before the CSV data.
|
||||
* <p>
|
||||
* This setting is ignored by the parser.
|
||||
* </p>
|
||||
|
@ -529,7 +529,7 @@ public final class CSVFormat implements Serializable {
|
|||
* Comments are printed first, before headers.
|
||||
* </p>
|
||||
* <p>
|
||||
* Use {@link Builder#setCommentMarker(char)} or {@link Builder#setCommentMarker(Character)} to set the comment marker written at the start of
|
||||
* Use {@link Builder#setCommentMarker(char)} or {@link Builder#setCommentMarker(Character)} to set the comment marker written at the start of
|
||||
* each comment line.
|
||||
* </p>
|
||||
* <p>
|
||||
|
@ -553,13 +553,14 @@ public final class CSVFormat implements Serializable {
|
|||
* @param headerComments the headerComments which will be printed by the Printer before the CSV data.
|
||||
* @return This instance.
|
||||
*/
|
||||
|
||||
public Builder setHeaderComments(final Object... headerComments) {
|
||||
this.headerComments = CSVFormat.clone(toStringArray(headerComments));
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the header comments to the given values before the CSV data.
|
||||
* Sets the header comments to the given values before the CSV data.
|
||||
* <p>
|
||||
* This setting is ignored by the parser.
|
||||
* </p>
|
||||
|
@ -567,7 +568,7 @@ public final class CSVFormat implements Serializable {
|
|||
* Comments are printed first, before headers.
|
||||
* </p>
|
||||
* <p>
|
||||
* Use {@link Builder#setCommentMarker(char)} or {@link Builder#setCommentMarker(Character)} to set the comment marker written at the start of
|
||||
* Use {@link Builder#setCommentMarker(char)} or {@link Builder#setCommentMarker(Character)} to set the comment marker written at the start of
|
||||
* each comment line.
|
||||
* </p>
|
||||
* <p>
|
||||
|
@ -578,7 +579,7 @@ public final class CSVFormat implements Serializable {
|
|||
* </p>
|
||||
* <pre>
|
||||
* builder.setCommentMarker('#')
|
||||
* .setHeaderComments("Generated by Apache Commons CSV", Instant.ofEpochMilli(0).toString());
|
||||
* .setHeaderComments("Generated by Apache Commons CSV", Instant.ofEpochMilli(0));
|
||||
* </pre>
|
||||
* <p>
|
||||
* writes:
|
||||
|
|
Loading…
Reference in New Issue