commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r406082 - /jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java
Date Sat, 13 May 2006 12:11:13 GMT
Author: scolebourne
Date: Sat May 13 05:11:13 2006
New Revision: 406082

URL: http://svn.apache.org/viewcvs?rev=406082&view=rev
Log:
Javadoc for not escaping apos

Modified:
    jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java

Modified: jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java?rev=406082&r1=406081&r2=406082&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/java/org/apache/commons/lang/StringEscapeUtils.java
Sat May 13 05:11:13 2006
@@ -425,8 +425,10 @@
      * <code>&amp;quot;bread&amp;quot; &amp;amp; &amp;quot;butter&amp;quot;</code>.
      * </p>
      *
-     * <p>Supports all known HTML 4.0 entities, including funky accents.</p>
-     * 
+     * <p>Supports all known HTML 4.0 entities, including funky accents.
+     * Note that the commonly used apostrophe escape character (&amp;apos;)
+     * is not a legal entity and so is not supported). </p>
+     *
      * @param str  the <code>String</code> to escape, may be null
      * @return a new escaped <code>String</code>, <code>null</code>
if null string input
      * 
@@ -464,11 +466,11 @@
      * <code>"bread" & "butter"</code>
      * <p>becomes:</p>
      * <code>&amp;quot;bread&amp;quot; &amp;amp; &amp;quot;butter&amp;quot;</code>.
-     * 
-     * <p>Supports all known HTML 4.0 entities, including funky accents. Note that

-     * the common apostrophe escape character (&amp;apos; is not a legal entity 
-     * and so is not supported. </p>
-     * 
+     *
+     * <p>Supports all known HTML 4.0 entities, including funky accents.
+     * Note that the commonly used apostrophe escape character (&amp;apos;)
+     * is not a legal entity and so is not supported). </p>
+     *
      * @param writer The <code>Writer</code> to write the result to. This must
not be <code>null</code>.
      * @param string  The <code>String</code> to escape. This may be <code>null</code>.
      * 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message