You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by fr...@apache.org on 2003/11/04 22:16:34 UTC

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang CharSetUtils.java

fredrik     2003/11/04 13:16:34

  Modified:    lang/src/java/org/apache/commons/lang CharSetUtils.java
  Log:
  Converting some chars  in javadoc into html-enteties.
  
  Revision  Changes    Path
  1.29      +10 -10    jakarta-commons/lang/src/java/org/apache/commons/lang/CharSetUtils.java
  
  Index: CharSetUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/CharSetUtils.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- CharSetUtils.java	24 Sep 2003 20:22:33 -0000	1.28
  +++ CharSetUtils.java	4 Nov 2003 21:16:34 -0000	1.29
  @@ -89,7 +89,7 @@
        * <ul>
        *  <li>&quot;aeio&quot; which implies 'a','e',..</li>
        *  <li>&quot;^e&quot; implies not e.</li>
  -     *  <li>&quot;ej-m&quot; implies e,j->m. e,j,k,l,m.</li>
  +     *  <li>&quot;ej-m&quot; implies e,j-&gt;m. e,j,k,l,m.</li>
        * </ul>
        * 
        * <pre>
  @@ -246,8 +246,8 @@
        * CharSetUtils.keep("", *)          = ""
        * CharSetUtils.keep(*, null)        = ""
        * CharSetUtils.keep(*, "")          = ""
  -     * CharSetUtils.keep("hello", "hl") = "hll"
  -     * CharSetUtils.keep("hello", "le") = "ell"
  +     * CharSetUtils.keep("hello", "hl")  = "hll"
  +     * CharSetUtils.keep("hello", "le")  = "ell"
        * </pre>
        *
        * @see #evaluateSet(java.lang.String[]) for set-syntax.
  @@ -305,8 +305,8 @@
        * CharSetUtils.delete("", *)          = ""
        * CharSetUtils.delete(*, null)        = *
        * CharSetUtils.delete(*, "")          = *
  -     * CharSetUtils.delete("hello", "hl") = "hll"
  -     * CharSetUtils.delete("hello", "le") = "ell"
  +     * CharSetUtils.delete("hello", "hl")  = "hll"
  +     * CharSetUtils.delete("hello", "le")  = "ell"
        * </pre>
        *
        * @see #evaluateSet(java.lang.String[]) for set-syntax.
  @@ -369,7 +369,7 @@
        * <p>An example is:</p>
        * <ul>
        *   <li>translate(&quot;hello&quot;, &quot;ho&quot;, &quot;jy&quot;)
  -     *    => jelly</li>
  +     *    =&gt; jelly</li>
        * </ul>
        *
        * <p>If the length of characters to search for is greater than the
  @@ -378,16 +378,16 @@
        * 
        * <pre>
        * CharSetUtils.translate(null, *, *) = null
  -     * CharSetUtils.translate("", *, *) = ""
  +     * CharSetUtils.translate("", *, *)   = ""
        * </pre>
        *
        * @param str  String to replace characters in, may be null
        * @param searchChars   a set of characters to search for, must not be null
  -     * @param replaceChars  a set of characters to replace, must not be null or empty ("")
  +     * @param replaceChars  a set of characters to replace, must not be null or empty (&quot;&quot;)
        * @return translated String, <code>null</code> if null string input
        * @throws NullPointerException if <code>with</code> or <code>repl</code> 
        *  is <code>null</code>
  -     * @throws ArrayIndexOutOfBoundsException if <code>with</code> is empty ("")
  +     * @throws ArrayIndexOutOfBoundsException if <code>with</code> is empty (&quot;&quot;)
        * @deprecated Use {@link StringUtils#replaceChars(String, String, String)}.
        *             Method will be removed in Commons Lang 3.0.
        */
  
  
  

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