commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1458805 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVPrinter.java
Date Wed, 20 Mar 2013 12:43:43 GMT
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;



Mime
View raw message