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…
Reference in New Issue