Skip to content

Commit 2210c0b

Browse files
committed
Sort members.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1739676 13f79535-47bb-0310-9956-ffa450edef68
1 parent 0685c84 commit 2210c0b

1 file changed

Lines changed: 30 additions & 23 deletions

File tree

src/main/java/org/apache/commons/csv/Constants.java

Lines changed: 30 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -24,52 +24,59 @@
2424
*/
2525
final class Constants {
2626

27+
static final char BACKSLASH = '\\';
28+
2729
static final char BACKSPACE = '\b';
30+
2831
static final char COMMA = ',';
2932

3033
/**
3134
* Starts a comment, the remainder of the line is the comment.
3235
*/
3336
static final char COMMENT = '#';
34-
37+
3538
static final char CR = '\r';
39+
40+
/** RFC 4180 defines line breaks as CRLF */
41+
static final String CRLF = "\r\n";
42+
3643
static final Character DOUBLE_QUOTE_CHAR = Character.valueOf('"');
37-
static final char BACKSLASH = '\\';
38-
static final char FF = '\f';
39-
static final char LF = '\n';
40-
static final char SP = ' ';
41-
static final char TAB = '\t';
42-
43-
/** ASCII record separator */
44-
static final char RS = 30;
45-
46-
/** ASCII unit separator */
47-
static final char US = 31;
48-
44+
4945
static final String EMPTY = "";
50-
46+
5147
/** The end of stream symbol */
5248
static final int END_OF_STREAM = -1;
49+
50+
static final char FF = '\f';
5351

54-
/** Undefined state for the lookahead char */
55-
static final int UNDEFINED = -2;
56-
57-
/** RFC 4180 defines line breaks as CRLF */
58-
static final String CRLF = "\r\n";
52+
static final char LF = '\n';
5953

6054
/**
6155
* Unicode line separator.
6256
*/
6357
static final String LINE_SEPARATOR = "\u2028";
6458

6559
/**
66-
* Unicode paragraph separator.
60+
* Unicode next line.
6761
*/
68-
static final String PARAGRAPH_SEPARATOR = "\u2029";
62+
static final String NEXT_LINE = "\u0085";
6963

7064
/**
71-
* Unicode next line.
65+
* Unicode paragraph separator.
7266
*/
73-
static final String NEXT_LINE = "\u0085";
67+
static final String PARAGRAPH_SEPARATOR = "\u2029";
68+
69+
/** ASCII record separator */
70+
static final char RS = 30;
71+
72+
static final char SP = ' ';
73+
74+
static final char TAB = '\t';
75+
76+
/** Undefined state for the lookahead char */
77+
static final int UNDEFINED = -2;
78+
79+
/** ASCII unit separator */
80+
static final char US = 31;
7481

7582
}

0 commit comments

Comments
 (0)