PMD: Remove useless parentheses

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742467 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2016-05-05 20:00:16 +00:00
parent cf1460b21e
commit 4e8c781b23
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ public final class CSVPrinter implements Flushable, Closeable {
char c = value.charAt(pos);
// TODO where did this rule come from?
if (newRecord && (c < '0' || (c > '9' && c < 'A') || (c > 'Z' && c < 'a') || (c > 'z'))) {
if (newRecord && (c < '0' || c > '9' && c < 'A' || c > 'Z' && c < 'a' || c > 'z')) {
quote = true;
} else if (c <= COMMENT) {
// Some other chars at the start of a value caused the parser to fail, so for now