You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by eb...@apache.org on 2011/11/09 15:42:58 UTC

svn commit: r1199775 - /commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java

Author: ebourg
Date: Wed Nov  9 14:42:58 2011
New Revision: 1199775

URL: http://svn.apache.org/viewvc?rev=1199775&view=rev
Log:
Made the protected fields in CSVPrinter private

Modified:
    commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java

Modified: commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
URL: http://svn.apache.org/viewvc/commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java?rev=1199775&r1=1199774&r2=1199775&view=diff
==============================================================================
--- commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java (original)
+++ commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java Wed Nov  9 14:42:58 2011
@@ -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