From d90fa381c4b3aaf290724ff7aabdd4ef55dd600b Mon Sep 17 00:00:00 2001 From: Emmanuel Bourg Date: Wed, 9 Nov 2011 14:42:58 +0000 Subject: [PATCH] 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 --- .../java/org/apache/commons/csv/CSVPrinter.java | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/CSVPrinter.java b/src/main/java/org/apache/commons/csv/CSVPrinter.java index d6947c03..bb40bafb 100644 --- a/src/main/java/org/apache/commons/csv/CSVPrinter.java +++ b/src/main/java/org/apache/commons/csv/CSVPrinter.java @@ -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