Skip to content

Commit 1b4474c

Browse files
committed
Javadoc: Use the active voice and change one verb.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397999 13f79535-47bb-0310-9956-ffa450edef68
1 parent eb472cb commit 1b4474c

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import java.io.IOException;
2828

2929
/**
30-
* Print values as a comma separated list.
30+
* Prints values as a comma separated list.
3131
*/
3232
public class CSVPrinter {
3333

@@ -39,7 +39,7 @@ public class CSVPrinter {
3939
private boolean newLine = true;
4040

4141
/**
42-
* Create a printer that will print values to the given stream following the CSVFormat.
42+
* Creates a printer that will print values to the given stream following the CSVFormat.
4343
* <p/>
4444
* Currently, only a pure encapsulation format or a pure escaping format is supported. Hybrid formats
4545
* (encapsulation and escaping with a different character) are not supported.
@@ -62,15 +62,15 @@ public CSVPrinter(final Appendable out, final CSVFormat format) {
6262
// ======================================================
6363

6464
/**
65-
* Output a blank line
65+
* Outputs a blank line
6666
*/
6767
public void println() throws IOException {
6868
out.append(format.getLineSeparator());
6969
newLine = true;
7070
}
7171

7272
/**
73-
* Flush the underlying stream.
73+
* Flushes the underlying stream.
7474
*
7575
* @throws IOException
7676
*/
@@ -81,7 +81,7 @@ public void flush() throws IOException {
8181
}
8282

8383
/**
84-
* Print a single line of comma separated values. The values will be quoted if needed. Quotes and newLine
84+
* Prints a single line of comma separated values. The values will be quoted if needed. Quotes and newLine
8585
* characters will be escaped.
8686
*
8787
* @param values
@@ -95,7 +95,7 @@ public void println(final String... values) throws IOException {
9595
}
9696

9797
/**
98-
* Put a comment on a new line among the comma separated values. Comments will always begin on a new line and
98+
* Prints a comment on a new line among the comma separated values. Comments will always begin on a new line and
9999
* occupy a least one full line. The character specified to start comments and a space will be inserted at the
100100
* beginning of each new line in the comment.
101101
* <p/>
@@ -277,7 +277,7 @@ void printAndEncapsulate(final CharSequence value, final int offset, final int l
277277
}
278278

279279
/**
280-
* Print the string as the next value on the line. The value will be escaped or encapsulated as needed if
280+
* Prints the string as the next value on the line. The value will be escaped or encapsulated as needed if
281281
* checkForEscape==true
282282
*
283283
* @param value
@@ -299,7 +299,7 @@ public void print(String value, final boolean checkForEscape) throws IOException
299299
}
300300

301301
/**
302-
* Print the string as the next value on the line. The value will be escaped or encapsulated as needed.
302+
* Prints the string as the next value on the line. The value will be escaped or encapsulated as needed.
303303
*
304304
* @param value
305305
* value to be outputted.

0 commit comments

Comments
 (0)