bayard      2003/08/13 18:21:37

  Modified:    lang/src/java/org/apache/commons/lang StringUtils.java
  Log:
  Added in Javadoc for deprecated capitalise methods.
  
  Revision  Changes    Path
  1.97      +27 -1     
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.96
  retrieving revision 1.97
  diff -u -r1.96 -r1.97
  --- StringUtils.java  14 Aug 2003 00:59:39 -0000      1.96
  +++ StringUtils.java  14 Aug 2003 01:21:36 -0000      1.97
  @@ -3439,6 +3439,11 @@
       }
   
       /**
  +     * <p>Capitalizes a String changing the first letter to title case as
  +     * per [EMAIL PROTECTED] Character#toTitleCase(char)}. No other letters are 
changed.</p>
  +     * 
  +     * @param str  the String to capitalize, may be null
  +     * @return the capitalized String, <code>null</code> if null String input
        * @deprecated Use the standardly named [EMAIL PROTECTED] #capitalize(String)}.
        *             Method will be removed in Commons Lang 3.0.
        */
  @@ -3476,6 +3481,11 @@
       }
   
       /**
  +     * <p>Uncapitalizes a String changing the first letter to title case as
  +     * per [EMAIL PROTECTED] Character#toLowerCase(char)}. No other letters are 
changed.</p>
  +     * 
  +     * @param str  the String to uncapitalize, may be null
  +     * @return the uncapitalized String, <code>null</code> if null String input
        * @deprecated Use the standardly named [EMAIL PROTECTED] 
#uncapitalize(String)}.
        *             Method will be removed in Commons Lang 3.0.
        */
  @@ -3578,6 +3588,14 @@
       }
   
       /**
  +     * <p>Capitalizes all the whitespace separated words in a String.
  +     * Only the first letter of each word is changed.</p>
  +     *
  +     * <p>Whitespace is defined by [EMAIL PROTECTED] Character#isWhitespace(char)}.
  +     * A <code>null</code> input String returns <code>null</code>.</p>
  +     *
  +     * @param str  the String to capitalize, may be null
  +     * @return capitalized String, <code>null</code> if null String input
        * @deprecated Use the standardly named [EMAIL PROTECTED] 
#capitalizeAllWords(String)}.
        *             Method will be removed in Commons Lang 3.0.
        */
  @@ -3626,6 +3644,14 @@
       }
   
       /**
  +     * <p>Uncapitalizes all the whitespace separated words in a String.
  +     * Only the first letter of each word is changed.</p>
  +     *
  +     * <p>Whitespace is defined by [EMAIL PROTECTED] Character#isWhitespace(char)}.
  +     * A <code>null</code> input String returns <code>null</code>.</p>
  +     *
  +     * @param str  the String to uncapitalize, may be null
  +     * @return uncapitalized String, <code>null</code> if null String input
        * @deprecated Use the standardly named [EMAIL PROTECTED] 
#uncapitalizeAllWords(String)}.
        *             Method will be removed in Commons Lang 3.0.
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to