You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/03/20 13:43:43 UTC

svn commit: r1458805 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java

Author: britter
Date: Wed Mar 20 12:43:43 2013
New Revision: 1458805

URL: http://svn.apache.org/r1458805
Log:
Format lines that are longer than 120 characters

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=1458805&r1=1458804&r2=1458805&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 Wed Mar 20 12:43:43 2013
@@ -152,7 +152,8 @@ public class CSVPrinter implements Flush
         println();
     }
 
-    private void print(final Object object, final CharSequence value, final int offset, final int len) throws IOException {
+    private void print(final Object object, final CharSequence value,
+            final int offset, final int len) throws IOException {
         if (format.isQuoting()) {
             printAndQuote(object, value, offset, len);
         } else if (format.isEscaping()) {
@@ -215,7 +216,8 @@ public class CSVPrinter implements Flush
     /*
      * Note: must only be called if quoting is enabled, otherwise will generate NPE
      */
-    void printAndQuote(final Object object, final CharSequence value, final int offset, final int len) throws IOException {
+    void printAndQuote(final Object object, final CharSequence value,
+            final int offset, final int len) throws IOException {
         final boolean first = newLine; // is this the first value on this line?
         boolean quote = false;
         int start = offset;