Fix PMDs: Unnecessary use of fully qualified name 'Constants.END_OF_STREAM' due to existing static import 'org.apache.commons.csv.Constants.END_OF_STREAM'.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1721770 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
290fdff050
commit
6b069cf443
|
@ -198,7 +198,7 @@ final class Lexer implements Closeable {
|
|||
break;
|
||||
} else if (isEscape(ch)) {
|
||||
final int unescaped = readEscape();
|
||||
if (unescaped == Constants.END_OF_STREAM) { // unexpected char after escape
|
||||
if (unescaped == END_OF_STREAM) { // unexpected char after escape
|
||||
token.content.append((char) ch).append((char) reader.getLastChar());
|
||||
} else {
|
||||
token.content.append((char) unescaped);
|
||||
|
@ -246,7 +246,7 @@ final class Lexer implements Closeable {
|
|||
|
||||
if (isEscape(c)) {
|
||||
final int unescaped = readEscape();
|
||||
if (unescaped == Constants.END_OF_STREAM) { // unexpected char after escape
|
||||
if (unescaped == END_OF_STREAM) { // unexpected char after escape
|
||||
token.content.append((char) c).append((char) reader.getLastChar());
|
||||
} else {
|
||||
token.content.append((char) unescaped);
|
||||
|
|
Loading…
Reference in New Issue