commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chtom...@apache.org
Subject [2/2] [text] TEXT-28: removing since tags, adding changes.xml notes
Date Thu, 15 Dec 2016 17:53:44 GMT
TEXT-28: removing since tags, adding changes.xml notes


Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/56eef1f8
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/56eef1f8
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/56eef1f8

Branch: refs/heads/master
Commit: 56eef1f8868b7a840ea1a37824331c210bb262c4
Parents: 6b0ff8d
Author: Rob Tompkins <chtompki@gmail.com>
Authored: Thu Dec 15 12:53:08 2016 -0500
Committer: Rob Tompkins <chtompki@gmail.com>
Committed: Thu Dec 15 12:53:08 2016 -0500

----------------------------------------------------------------------
 src/changes/changes.xml                                     | 1 +
 .../java/org/apache/commons/text/StringEscapeUtils.java     | 9 +++------
 2 files changed, 4 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/56eef1f8/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 9056330..a7534c7 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -22,6 +22,7 @@
   <body>
 
   <release version="1.0" date="tba" description="tba">
+    <action issue="TEST-28" type="add" dev="chtompki">Add shell/XSI escape/unescape
support</action>
     <action issue="TEXT-22" type="fix" dev="chtompki">LevenshteinDistance reduce memory
consumption</action>
     <action issue="TEXT-31" type="remove" dev="chtompki">Remove org.apache.commons.text.names,
for later release than 1.0</action>
     <action issue="TEXT-2" type="add" dev="chtompki" due-to="Don Jeba">Add Jaccard
Index and Jaccard Distance</action>

http://git-wip-us.apache.org/repos/asf/commons-text/blob/56eef1f8/src/main/java/org/apache/commons/text/StringEscapeUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/StringEscapeUtils.java b/src/main/java/org/apache/commons/text/StringEscapeUtils.java
index 7866566..09b3ba2 100644
--- a/src/main/java/org/apache/commons/text/StringEscapeUtils.java
+++ b/src/main/java/org/apache/commons/text/StringEscapeUtils.java
@@ -732,9 +732,9 @@ public class StringEscapeUtils {
      * <p>Supports only the five basic XML entities (gt, lt, quot, amp, apos).
      * Does not support DTDs or external entities.</p>
      *
-     * <p>Note that Unicode characters greater than 0x7f are as of 3.0, no longer 
-     *    escaped. If you still wish this functionality, you can achieve it 
-     *    via the following: 
+     * <p>Note that Unicode characters greater than 0x7f are as of 3.0, no longer
+     *    escaped. If you still wish this functionality, you can achieve it
+     *    via the following:
      * {@code StringEscapeUtils.ESCAPE_XML.with( NumericEntityEscaper.between(0x7f, Integer.MAX_VALUE)
);}</p>
      *
      * @param input  the {@code String} to escape, may be null
@@ -882,7 +882,6 @@ public class StringEscapeUtils {
         return UNESCAPE_CSV.translate(input);
     }
 
-    // Shell
     /**
      * <p>Escapes the characters in a {@code String} using XSI rules.</p>
      *
@@ -899,7 +898,6 @@ public class StringEscapeUtils {
      * @see <a href="http://pubs.opengroup.org/onlinepubs/7908799/xcu/chap2.html">Shell
Command Language</a>
      * @param input  String to escape values in, may be null
      * @return String with escaped values, {@code null} if null string input
-     * @since 3.6
      */
     public static final String escapeXSI(final String input) {
         return ESCAPE_XSI.translate(input);
@@ -911,7 +909,6 @@ public class StringEscapeUtils {
      * @see StringEscapeUtils#escapeXSI(String)
      * @param input  the {@code String} to unescape, may be null
      * @return a new unescaped {@code String}, {@code null} if null string input
-     * @since 3.6
      */
     public static final String unescapeXSI(final String input) {
         return UNESCAPE_XSI.translate(input);


Mime
View raw message