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
This commit is contained in:
Emmanuel Bourg 2011-11-09 14:42:58 +00:00
parent be3cb017eb
commit d90fa381c4
1 changed files with 7 additions and 10 deletions

View File

@ -25,18 +25,15 @@ import java.io.Writer;
*/
public class CSVPrinter {
/**
* The place that the values get written.
*/
protected final Writer out;
protected final CSVStrategy strategy;
/** The place that the values get written. */
private final Writer out;
private final CSVStrategy strategy;
/**
* True if we just began a new line.
*/
protected boolean newLine = true;
/** True if we just began a new line. */
private boolean newLine = true;
protected char[] buf = new char[0]; // temporary buffer
/** Temporary buffer */
private char[] buf = new char[0];
/**
* Create a printer that will print values to the given