Skip to content

Commit 15b4e3f

Browse files
committed
Sort members alphabetically
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512606 13f79535-47bb-0310-9956-ffa450edef68
1 parent 1756e67 commit 15b4e3f

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,6 @@ public class CSVFormat implements Serializable {
100100

101101
private static final long serialVersionUID = 1L;
102102

103-
/**
104-
* Returns true if the given character is a line break character.
105-
*
106-
* @param c
107-
* the character to check, may be null
108-
*
109-
* @return true if <code>c</code> is a line break character (and not null)
110-
*/
111-
// package protected to give access without needing a synthetic accessor
112-
static boolean isLineBreak(final Character c) {
113-
return c != null && isLineBreak(c.charValue());
114-
}
115-
116103
private final char delimiter;
117104
private final Character quoteChar; // null if quoting is disabled
118105
private final Quote quotePolicy;
@@ -205,6 +192,19 @@ static boolean isLineBreak(final char c) {
205192
return c == LF || c == CR;
206193
}
207194

195+
/**
196+
* Returns true if the given character is a line break character.
197+
*
198+
* @param c
199+
* the character to check, may be null
200+
*
201+
* @return true if <code>c</code> is a line break character (and not null)
202+
*/
203+
// package protected to give access without needing a synthetic accessor
204+
static boolean isLineBreak(final Character c) {
205+
return c != null && isLineBreak(c.charValue());
206+
}
207+
208208
/**
209209
* Creates a new CSV format with the specified delimiter.
210210
*

0 commit comments

Comments
 (0)