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/08/10 12:30:48 UTC

svn commit: r1512606 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java

Author: britter
Date: Sat Aug 10 10:30:48 2013
New Revision: 1512606

URL: http://svn.apache.org/r1512606
Log:
Sort members alphabetically

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

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1512606&r1=1512605&r2=1512606&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java Sat Aug 10 10:30:48 2013
@@ -100,19 +100,6 @@ public class CSVFormat implements Serial
 
     private static final long serialVersionUID = 1L;
 
-    /**
-     * Returns true if the given character is a line break character.
-     *
-     * @param c
-     *            the character to check, may be null
-     *
-     * @return true if <code>c</code> is a line break character (and not null)
-     */
-    // package protected to give access without needing a synthetic accessor
-    static boolean isLineBreak(final Character c) {
-        return c != null && isLineBreak(c.charValue());
-    }
-
     private final char delimiter;
     private final Character quoteChar; // null if quoting is disabled
     private final Quote quotePolicy;
@@ -206,6 +193,19 @@ public class CSVFormat implements Serial
     }
 
     /**
+     * Returns true if the given character is a line break character.
+     *
+     * @param c
+     *            the character to check, may be null
+     *
+     * @return true if <code>c</code> is a line break character (and not null)
+     */
+    // package protected to give access without needing a synthetic accessor
+    static boolean isLineBreak(final Character c) {
+        return c != null && isLineBreak(c.charValue());
+    }
+
+    /**
      * Creates a new CSV format with the specified delimiter.
      *
      * @param delimiter