From 680d605d3f15071a92b9d3b27497f06ee2fc6a7d Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Thu, 17 Jan 2008 17:34:43 +0000 Subject: [PATCH] Apply sebb's suggestion. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612880 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/StringEscapeUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/lang/StringEscapeUtils.java b/src/java/org/apache/commons/lang/StringEscapeUtils.java index 1a0a7eb2d..c30c66371 100644 --- a/src/java/org/apache/commons/lang/StringEscapeUtils.java +++ b/src/java/org/apache/commons/lang/StringEscapeUtils.java @@ -851,7 +851,7 @@ public class StringEscapeUtils { if ( StringUtils.containsAny(quoteless, CSV_SEARCH_CHARS) ) { // deal with escaped quotes; ie) "" - str = StringUtils.replace(quoteless, "" + CSV_QUOTE + CSV_QUOTE, CSV_QUOTE_STR); + str = StringUtils.replace(quoteless, CSV_QUOTE_STR + CSV_QUOTE_STR, CSV_QUOTE_STR); } out.write(str);