File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments