Skip to content

Commit 6b67a34

Browse files
committed
Sort methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460348 13f79535-47bb-0310-9956-ffa450edef68
1 parent b018983 commit 6b67a34

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,6 @@ void trimTrailingSpaces(final StringBuilder buffer) {
105105
}
106106
}
107107

108-
/**
109-
* @return true if the given char is a whitespace character
110-
*/
111-
boolean isWhitespace(final int c) {
112-
return c != format.getDelimiter() && Character.isWhitespace((char) c);
113-
}
114-
115108
/**
116109
* Greedily accepts \n, \r and \r\n This checker consumes silently the second control-character...
117110
*
@@ -126,6 +119,15 @@ boolean readEndOfLine(int c) throws IOException {
126119
return c == LF || c == CR;
127120
}
128121

122+
abstract Token nextToken(Token reusableToken) throws IOException;
123+
124+
/**
125+
* @return true if the given char is a whitespace character
126+
*/
127+
boolean isWhitespace(final int c) {
128+
return c != format.getDelimiter() && Character.isWhitespace((char) c);
129+
}
130+
129131
/**
130132
* Checks if the current character represents the start of a line: a CR, LF or is at the start of the file.
131133
*
@@ -143,8 +145,6 @@ boolean isEndOfFile(final int c) {
143145
return c == END_OF_STREAM;
144146
}
145147

146-
abstract Token nextToken(Token reusableToken) throws IOException;
147-
148148
boolean isDelimiter(final int c) {
149149
return c == delimiter;
150150
}

0 commit comments

Comments
 (0)