commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1398002 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
Date Sun, 14 Oct 2012 04:06:39 GMT
Author: ggregory
Date: Sun Oct 14 04:06:39 2012
New Revision: 1398002

URL: http://svn.apache.org/viewvc?rev=1398002&view=rev
Log:
Rename printSep() to printDelimiter().

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

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java?rev=1398002&r1=1398001&r2=1398002&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java Sun Oct
14 04:06:39 2012
@@ -140,12 +140,12 @@ public class CSVPrinter {
         } else if (format.isEscaping()) {
             printAndEscape(value, offset, len);
         } else {
-            printSep();
+            printDelimiter();
             out.append(value, offset, offset + len);
         }
     }
 
-    void printSep() throws IOException {
+    void printDelimiter() throws IOException {
         if (newLine) {
             newLine = false;
         } else {
@@ -158,7 +158,7 @@ public class CSVPrinter {
         int pos = offset;
         final int end = offset + len;
 
-        printSep();
+        printDelimiter();
 
         final char delim = format.getDelimiter();
         final char escape = format.getEscape();
@@ -198,7 +198,7 @@ public class CSVPrinter {
         int pos = offset;
         final int end = offset + len;
 
-        printSep();
+        printDelimiter();
 
         final char delim = format.getDelimiter();
         final char encapsulator = format.getEncapsulator();
@@ -291,7 +291,7 @@ public class CSVPrinter {
 
         if (!checkForEscape) {
             // write directly from string
-            printSep();
+            printDelimiter();
             out.append(value);
         } else {
             print(value, 0, value.length());



Mime
View raw message