You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2003/08/19 02:11:20 UTC

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang CharSet.java WordUtils.java StringUtils.java

scolebourne    2003/08/18 17:11:20

  Modified:    lang/src/java/org/apache/commons/lang CharSet.java
                        WordUtils.java StringUtils.java
  Log:
  Javadoc fixes
  
  Revision  Changes    Path
  1.17      +2 -2      jakarta-commons/lang/src/java/org/apache/commons/lang/CharSet.java
  
  Index: CharSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/CharSet.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- CharSet.java	18 Aug 2003 02:22:22 -0000	1.16
  +++ CharSet.java	19 Aug 2003 00:11:20 -0000	1.17
  @@ -124,7 +124,7 @@
        * </ul>
        *
        * <p>The matching order is:</p>
  -     * <ol
  +     * <ol>
        *  <li>Negated multi character range, such as "^a-e"
        *  <li>Ordinary multi character range, such as "a-e"
        *  <li>Negated single character, such as "^a"
  
  
  
  1.6       +3 -3      jakarta-commons/lang/src/java/org/apache/commons/lang/WordUtils.java
  
  Index: WordUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/WordUtils.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WordUtils.java	18 Aug 2003 02:22:23 -0000	1.5
  +++ WordUtils.java	19 Aug 2003 00:11:20 -0000	1.6
  @@ -168,7 +168,7 @@
        *
        * <pre>
        * WordUtils.wrap(null, *) = null
  -     * WordUtils.wrap("", *) = null
  +     * WordUtils.wrap("", *) = ""
        * </pre>
        *
        * @param str  the String to be word wrapped, may be null
  @@ -187,7 +187,7 @@
        * 
        * <pre>
        * WordUtils.wrap(null, *, *, *) = null
  -     * WordUtils.wrap("", *, *, *) = null
  +     * WordUtils.wrap("", *, *, *) = ""
        * </pre>
        *
        * @param str  the String to be word wrapped, may be null
  
  
  
  1.103     +5 -5      jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java
  
  Index: StringUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/StringUtils.java,v
  retrieving revision 1.102
  retrieving revision 1.103
  diff -u -r1.102 -r1.103
  --- StringUtils.java	18 Aug 2003 02:22:23 -0000	1.102
  +++ StringUtils.java	19 Aug 2003 00:11:20 -0000	1.103
  @@ -74,8 +74,10 @@
    *      - index-of any of a set of Strings</li>
    *  <li><b>ContainsOnly/ContainsNone</b>
    *      - does String contains only/none of these characters</li>
  - *  <li><b>SubString/Left/Right/Mid/SubStringBefore/SubStringAfter</b>
  + *  <li><b>Substring/Left/Right/Mid</b>
    *      - null-safe substring extractions</li>
  + *  <li><b>SubstringBefore/SubstringAfter/SubstringBetween</b>
  + *      - substring extraction relative to other strings</li>
    *  <li><b>Split/Join</b>
    *      - splits a String into an array of substrings and vice versa</li>
    *  <li><b>Replace/Delete/Overlay</b>
  @@ -86,8 +88,6 @@
    *      - pads a String</li>
    *  <li><b>UpperCase/LowerCase/SwapCase/Capitalize/Uncapitalize</b>
    *      - changes the case of a String</li>
  - *  <li><b>NestedString</b>
  - *      - returns a substring nested within other Strings</li>
    *  <li><b>CountMatches</b>
    *      - counts the number of occurrances of one String in another</li>
    *  <li><b>IsAlpha/IsNumeric/IsWhitespace</b>
  @@ -121,8 +121,8 @@
    * details vary by method.</p>
    * 
    * <p>A side effect of the <code>null</code> handling is that a 
  - * {@link java.lang.NullPointerException} should be considered a bug in <code>StringUtils</code>
  - * (except for deprecated methods).</p>
  + * <code>NullPointerException</code> should be considered a bug in
  + * <code>StringUtils</code> (except for deprecated methods).</p>
    * 
    * <p>Methods in this class give sample code to explain their operation.
    * The symbol <code>*</code> is used to indicate any input including <code>null</code>.</p>
  
  
  

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