8000 Made the protected fields in CSVPrinter private · ptcoder/commons-csv@d90fa38 · GitHub
Skip to content

Commit d90fa38

Browse files
committed
Made the protected fields in CSVPrinter private
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199775 13f79535-47bb-0310-9956-ffa450edef68
1 parent be3cb01 commit d90fa38

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

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

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,15 @@
2525
*/
2626
public class CSVPrinter {
2727

28-
/**
29-
* The place that the values get written.
30-
*/
31-
protected final Writer out;
32-
protected final CSVStrategy strategy;
28+
/** The place that the values get written. */
29+
private final Writer out;
30+
private final CSVStrategy strategy;
3331

34-
/**
35-
* True if we just began a new line.
36-
*/
37-
protected boolean newLine = true;
32+
/** True if we just began a new line. */
33+
private boolean newLine = true;
3834

39-
protected char[] buf = new char[0]; // temporary buffer
35+
/** Temporary buffer */
36+
private char[] buf = new char[0];
4037

4138
/**
4239
* Create a printer that will print values to the given

0 commit comments

Comments
 (0)