PMD: Unnecessary use of fully qualified name 'Constants.EMPTY' due to

existing static import 'org.apache.commons.csv.Constants.EMPTY'
This commit is contained in:
Gary Gregory 2017-07-20 19:28:18 -07:00
parent 4a8f340239
commit 99be47eb9b
1 changed files with 1 additions and 1 deletions

View File

@ -1060,7 +1060,7 @@ public final class CSVFormat implements Serializable {
if (value == null) {
// https://issues.apache.org/jira/browse/CSV-203
if (null == nullString) {
charSequence = Constants.EMPTY;
charSequence = EMPTY;
} else {
if (QuoteMode.ALL == quoteMode) {
charSequence = quoteCharacter + nullString + quoteCharacter;