commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang StringUtils.java
Date Thu, 14 Aug 2003 02:20:48 GMT
ggregory    2003/08/13 19:20:48

  Modified:    lang/src/java/org/apache/commons/lang StringUtils.java
  Log:
  Javadoc: Add matching </li> tags.
  
  Revision  Changes    Path
  1.99      +29 -29    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.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- StringUtils.java	14 Aug 2003 01:49:03 -0000	1.98
  +++ StringUtils.java	14 Aug 2003 02:20:48 -0000	1.99
  @@ -63,56 +63,56 @@
    * 
    * <ul>
    *  <li><b>IsEmpty/IsBlank</b>
  - *      - checks if a String contains text
  + *      - checks if a String contains text</li>
    *  <li><b>Trim/Strip</b>
  - *      - removes leading and trailing whitespace
  + *      - removes leading and trailing whitespace</li>
    *  <li><b>Equals</b>
  - *      - compares two strings null-safe
  + *      - compares two strings null-safe</li>
    *  <li><b>IndexOf/LastIndexOf/Contains</b>
    *      - null-safe index-of checks
    *  <li><b>IndexOfAny/LastIndexOfAny/IndexOfAnyBut/LastIndexOfAnyBut</b>
  - *      - index-of any of a set of Strings
  + *      - index-of any of a set of Strings</li>
    *  <li><b>ContainsOnly/ContainsNone</b>
  - *      - does String contains only/none of these characters
  + *      - does String contains only/none of these characters</li>
    *  <li><b>SubString/Left/Right/Mid/SubStringBefore/SubStringAfter</b>
  - *      - null-safe substring extractions
  + *      - null-safe substring extractions</li>
    *  <li><b>Split/Join</b>
  - *      - splits a String into an array of substrings and vice versa
  + *      - splits a String into an array of substrings and vice versa</li>
    *  <li><b>Replace/Delete/Overlay</b>
  - *      - Searches a String and replaces one String with another
  + *      - Searches a String and replaces one String with another</li>
    *  <li><b>Chomp/Chop</b>
  - *      - removes the last part of a String
  + *      - removes the last part of a String</li>
    *  <li><b>LeftPad/RightPad/Center/Repeat</b>
  - *      - pads a String
  + *      - pads a String</li>
    *  <li><b>UpperCase/LowerCase/SwapCase/Capitalize/Uncapitalize</b>
  - *      - changes the case of a String
  + *      - changes the case of a String</li>
    *  <li><b>NestedString</b>
  - *      - returns a substring nested within other Strings
  + *      - returns a substring nested within other Strings</li>
    *  <li><b>CountMatches</b>
  - *      - counts the number of occurrances of one String in another
  + *      - counts the number of occurrances of one String in another</li>
    *  <li><b>IsAlpha/IsNumeric/IsWhitespace</b>
  - *      - checks the characters in a String
  + *      - checks the characters in a String</li>
    *  <li><b>DefaultString</b>
  - *      - protects against a null input String
  + *      - protects against a null input String</li>
    *  <li><b>Reverse/ReverseDelimited</b>
  - *      - reverses a String
  + *      - reverses a String</li>
    *  <li><b>Abbreviate</b>
  - *      - abbreviates a string using ellipsis
  + *      - abbreviates a string using ellipsis</li>
    *  <li><b>Difference</b>
  - *      - compares two Strings and reports on their differences
  + *      - compares two Strings and reports on their differences</li>
    *  <li><b>LevensteinDistance</b>
  - *      - the number of changes needed to change one String into another
  + *      - the number of changes needed to change one String into another</li>
    * </ul>
    *
    * <p>The <code>StringUtils</code> class defines certain words related
to
    * String handling.</p>
    * 
    * <ul>
  - *  <li>null - <code>null</code>
  - *  <li>empty - a zero-length string (<code>""</code>)
  - *  <li>space - the space character (<code>' '</code>, char 32)
  - *  <li>whitespace - the characters defined by {@link Character#isWhitespace(char)}
  - *  <li>trim - the characters &lt;= 32 as in {@link String#trim()}
  + *  <li>null - <code>null</code></li>
  + *  <li>empty - a zero-length string (<code>""</code>)</li>
  + *  <li>space - the space character (<code>' '</code>, char 32)</li>
  + *  <li>whitespace - the characters defined by {@link Character#isWhitespace(char)}</li>
  + *  <li>trim - the characters &lt;= 32 as in {@link String#trim()}</li>
    * </ul>
    * 
    * <p><code>StringUtils</code> handles <code>null</code>
input Strings quietly.
  @@ -3498,10 +3498,10 @@
        * <p>Swaps the case of a String using a word based algorithm.</p>
        * 
        * <ul>
  -     *  <li>Upper case character converts to Lower case
  -     *  <li>Title case character converts to Lower case
  -     *  <li>Lower case character after Whitespace or at start converts to Title case
  -     *  <li>Other Lower case character converts to Upper case
  +     *  <li>Upper case character converts to Lower case</li>
  +     *  <li>Title case character converts to Lower case</li>
  +     *  <li>Lower case character after Whitespace or at start converts to Title case</li>
  +     *  <li>Other Lower case character converts to Upper case</li>
        * </ul>
        * 
        * <p>Whitespace is defined by {@link Character#isWhitespace(char)}.
  
  
  

Mime
View raw message