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:
Benedikt Ritter 2013-05-03 06:37:58 +00:00
parent 2c61208262
commit e6ba150743
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**