mirror of
https://github.com/apache/commons-csv.git
synced 2025-02-06 10:09:08 +00:00
Use isDelimiter method instead of != check.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1478655 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2c61208262
commit
e6ba150743
@ -146,7 +146,7 @@ abstract class Lexer {
|
||||
* @return true if the given char is a whitespace character
|
||||
*/
|
||||
boolean isWhitespace(final int c) {
|
||||
return c != format.getDelimiter() && Character.isWhitespace((char) c);
|
||||
return !isDelimiter(c) && Character.isWhitespace((char) c);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user