Perform the cheaper test first
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300531 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d2c8f90800
commit
18d706032a
|
@ -518,7 +518,7 @@ class CSVLexer {
|
|||
* @return true if the given char is a whitespace character
|
||||
*/
|
||||
private boolean isWhitespace(int c) {
|
||||
return Character.isWhitespace((char) c) && (c != format.getDelimiter());
|
||||
return (c != format.getDelimiter()) && Character.isWhitespace((char) c);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue