You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2019/09/22 21:10:20 UTC

[commons-text] 02/04: TEXT-149: Remove redundant toString().

This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git

commit fefedb87239eb92f6300b680dee88a220681e30b
Author: Yuji Konishi <yu...@gmail.com>
AuthorDate: Sun Sep 8 13:55:42 2019 +0900

    TEXT-149: Remove redundant toString().
---
 src/main/java/org/apache/commons/text/translate/CsvTranslators.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/text/translate/CsvTranslators.java b/src/main/java/org/apache/commons/text/translate/CsvTranslators.java
index 32988a4..69301d6 100644
--- a/src/main/java/org/apache/commons/text/translate/CsvTranslators.java
+++ b/src/main/java/org/apache/commons/text/translate/CsvTranslators.java
@@ -87,7 +87,7 @@ public final class CsvTranslators {
                 // deal with escaped quotes; ie) ""
                 out.write(StringUtils.replace(quoteless, CSV_ESCAPED_QUOTE_STR, CSV_QUOTE_STR));
             } else {
-                out.write(quoteless.toString());
+                out.write(quoteless);
             }
         }
     }