spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (JIRA)" <>
Subject [jira] [Created] (SPARK-28549) Use `text.StringEscapeUtils` instead `lang3.StringEscapeUtils`
Date Sun, 28 Jul 2019 19:46:00 GMT
Dongjoon Hyun created SPARK-28549:

             Summary: Use `text.StringEscapeUtils` instead `lang3.StringEscapeUtils`
                 Key: SPARK-28549
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core, SQL
    Affects Versions: 3.0.0
            Reporter: Dongjoon Hyun

`org.apache.commons.lang3.StringEscapeUtils` is deprecated over two years ago at LANG-1316.
 * <p>Escapes and unescapes {@code String}s for
 * Java, Java Script, HTML and XML.</p>
 * <p>#ThreadSafe#</p>
 * @since 2.0
 * @deprecated as of 3.6, use commons-text
 * <a href="">
 * StringEscapeUtils</a> instead
public class StringEscapeUtils {

This issue aims to use the latest one from `commons-text` module which has more bug fixes
TEXT-100, TEXT-118 and TEXT-120.
-import org.apache.commons.lang3.StringEscapeUtils
+import org.apache.commons.text.StringEscapeUtils

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message