You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/04/18 03:15:38 UTC

svn commit: r1739676 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java

Author: ggregory
Date: Mon Apr 18 01:15:38 2016
New Revision: 1739676

URL: http://svn.apache.org/viewvc?rev=1739676&view=rev
Log:
Sort members.

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

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java?rev=1739676&r1=1739675&r2=1739676&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Constants.java Mon Apr 18 01:15:38 2016
@@ -24,38 +24,32 @@ package org.apache.commons.csv;
  */
 final class Constants {
 
+    static final char BACKSLASH = '\\';
+    
     static final char BACKSPACE = '\b';
+
     static final char COMMA = ',';
 
     /**
      * Starts a comment, the remainder of the line is the comment.
      */
     static final char COMMENT = '#';
-
+    
     static final char CR = '\r';
+    
+    /** RFC 4180 defines line breaks as CRLF */
+    static final String CRLF = "\r\n";
+    
     static final Character DOUBLE_QUOTE_CHAR = Character.valueOf('"');
-    static final char BACKSLASH = '\\';
-    static final char FF = '\f';
-    static final char LF = '\n';
-    static final char SP = ' ';
-    static final char TAB = '\t';
-
-    /** ASCII record separator */
-    static final char RS = 30;
-
-    /** ASCII unit separator */
-    static final char US = 31;
-
+    
     static final String EMPTY = "";
-
+    
     /** The end of stream symbol */
     static final int END_OF_STREAM = -1;
+    
+    static final char FF = '\f';
 
-    /** Undefined state for the lookahead char */
-    static final int UNDEFINED = -2;
-
-    /** RFC 4180 defines line breaks as CRLF */
-    static final String CRLF = "\r\n";
+    static final char LF = '\n';
 
     /**
      * Unicode line separator.
@@ -63,13 +57,26 @@ final class Constants {
     static final String LINE_SEPARATOR = "\u2028";
 
     /**
-     * Unicode paragraph separator.
+     * Unicode next line.
      */
-    static final String PARAGRAPH_SEPARATOR = "\u2029";
+    static final String NEXT_LINE = "\u0085";
 
     /**
-     * Unicode next line.
+     * Unicode paragraph separator.
      */
-    static final String NEXT_LINE = "\u0085";
+    static final String PARAGRAPH_SEPARATOR = "\u2029";
+
+    /** ASCII record separator */
+    static final char RS = 30;
+
+    static final char SP = ' ';
+
+    static final char TAB = '\t';
+
+    /** Undefined state for the lookahead char */
+    static final int UNDEFINED = -2;
+
+    /** ASCII unit separator */
+    static final char US = 31;
 
 }