PMD: Remove useless parentheses

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

View File

@ -58,7 +58,7 @@ final class ExtendedBufferedReader extends BufferedReader {
@Override
public int read() throws IOException {
final int current = super.read();
if (current == CR || (current == LF && lastChar != CR)) {
if (current == CR || current == LF && lastChar != CR) {
eolCounter++;
}
lastChar = current;

View File

@ -110,7 +110,7 @@ final class Lexer implements Closeable {
}
// did we reach eof during the last iteration already ? EOF
if (isEndOfFile(lastChar) || (!isDelimiter(lastChar) && isEndOfFile(c))) {
if (isEndOfFile(lastChar) || !isDelimiter(lastChar) && isEndOfFile(c)) {
token.type = EOF;
// don't set token.isReady here because no content
return token;