commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1199775 - /commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
Date Wed, 09 Nov 2011 14:42:58 GMT
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



Mime
View raw message