From 6b069cf4435384675c6863486d13713b1721781d Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Sat, 26 Dec 2015 22:44:01 +0000 Subject: [PATCH] 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 --- src/main/java/org/apache/commons/csv/Lexer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/Lexer.java b/src/main/java/org/apache/commons/csv/Lexer.java index a902fe2a..8a84bd5a 100644 --- a/src/main/java/org/apache/commons/csv/Lexer.java +++ b/src/main/java/org/apache/commons/csv/Lexer.java @@ -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);