You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2017/07/21 02:28:20 UTC

commons-csv git commit: PMD: Unnecessary use of fully qualified name 'Constants.EMPTY' due to existing static import 'org.apache.commons.csv.Constants.EMPTY'

Repository: commons-csv
Updated Branches:
  refs/heads/master 4a8f34023 -> 99be47eb9


PMD: Unnecessary use of fully qualified name 'Constants.EMPTY' due to
existing static import 'org.apache.commons.csv.Constants.EMPTY'

Project: http://git-wip-us.apache.org/repos/asf/commons-csv/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-csv/commit/99be47eb
Tree: http://git-wip-us.apache.org/repos/asf/commons-csv/tree/99be47eb
Diff: http://git-wip-us.apache.org/repos/asf/commons-csv/diff/99be47eb

Branch: refs/heads/master
Commit: 99be47eb9b0f2312f19848afa7e9745db02b50c6
Parents: 4a8f340
Author: Gary Gregory <gg...@apache.org>
Authored: Thu Jul 20 19:28:18 2017 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Thu Jul 20 19:28:18 2017 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/commons/csv/CSVFormat.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-csv/blob/99be47eb/src/main/java/org/apache/commons/csv/CSVFormat.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java
index ea22885..7bd5d0b 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVFormat.java
@@ -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;