Skip to content

Commit 8c3aaee

Browse files
committed
Rename method from "is" prefix to "read" prefix because it is not just a test method, it may actually consume input.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397914 13f79535-47bb-0310-9956-ffa450edef68
1 parent d37f1a6 commit 8c3aaee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ boolean isWhitespace(final int c) {
113113
/**
114114
* Greedily accepts \n, \r and \r\n This checker consumes silently the second control-character...
115115
*
116-
* @return true if the given character is a line-terminator
116+
* @return true if the given or next character is a line-terminator
117117
*/
118-
boolean isEndOfLine(int c) throws IOException {
118+
boolean readEndOfLine(int c) throws IOException {
119119
// check if we have \r\n...
120120
if (c == CR && in.lookAhead() == LF) {
121121
// note: does not change c outside of this method !!

0 commit comments

Comments
 (0)