Fixing package name to WordUtils and String->CharSequence API change
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@930817 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ac4bc3dbd5
commit
206ee21454
|
@ -4933,7 +4933,7 @@ public class StringUtils {
|
|||
* <p>Capitalizes a String changing the first letter to title case as
|
||||
* per {@link Character#toTitleCase(char)}. No other letters are changed.</p>
|
||||
*
|
||||
* <p>For a word based algorithm, see {@link org.apache.commons.lang.text.WordUtils#capitalize(String)}.
|
||||
* <p>For a word based algorithm, see {@link org.apache.commons.lang3.text.WordUtils#capitalize(String)}.
|
||||
* A <code>null</code> input String returns <code>null</code>.</p>
|
||||
*
|
||||
* <pre>
|
||||
|
@ -4945,8 +4945,8 @@ public class StringUtils {
|
|||
*
|
||||
* @param cs the String to capitalize, may be null
|
||||
* @return the capitalized String, <code>null</code> if null String input
|
||||
* @see org.apache.commons.lang.text.WordUtils#capitalize(String)
|
||||
* @see #uncapitalize(String)
|
||||
* @see org.apache.commons.lang3.text.WordUtils#capitalize(String)
|
||||
* @see #uncapitalize(CharSequence)
|
||||
* @since 2.0
|
||||
*/
|
||||
public static String capitalize(CharSequence cs) {
|
||||
|
@ -4967,7 +4967,7 @@ public class StringUtils {
|
|||
* <p>Uncapitalizes a CharSequence changing the first letter to title case as
|
||||
* per {@link Character#toLowerCase(char)}. No other letters are changed.</p>
|
||||
*
|
||||
* <p>For a word based algorithm, see {@link org.apache.commons.lang.text.WordUtils#uncapitalize(String)}.
|
||||
* <p>For a word based algorithm, see {@link org.apache.commons.lang3.text.WordUtils#uncapitalize(String)}.
|
||||
* A <code>null</code> input String returns <code>null</code>.</p>
|
||||
*
|
||||
* <pre>
|
||||
|
@ -4979,7 +4979,7 @@ public class StringUtils {
|
|||
*
|
||||
* @param cs the String to uncapitalize, may be null
|
||||
* @return the uncapitalized String, <code>null</code> if null String input
|
||||
* @see org.apache.commons.lang.text.WordUtils#uncapitalize(String)
|
||||
* @see org.apache.commons.lang3.text.WordUtils#uncapitalize(String)
|
||||
* @see #capitalize(CharSequence)
|
||||
* @since 2.0
|
||||
*/
|
||||
|
@ -5007,7 +5007,7 @@ public class StringUtils {
|
|||
* <li>Lower case character converts to Upper case</li>
|
||||
* </ul>
|
||||
*
|
||||
* <p>For a word based algorithm, see {@link org.apache.commons.lang.text.WordUtils#swapCase(String)}.
|
||||
* <p>For a word based algorithm, see {@link org.apache.commons.lang3.text.WordUtils#swapCase(String)}.
|
||||
* A <code>null</code> input String returns <code>null</code>.</p>
|
||||
*
|
||||
* <pre>
|
||||
|
@ -5019,7 +5019,7 @@ public class StringUtils {
|
|||
* <p>NOTE: This method changed in Lang version 2.0.
|
||||
* It no longer performs a word based algorithm.
|
||||
* If you only use ASCII, you will notice no change.
|
||||
* That functionality is available in org.apache.commons.lang.text.WordUtils.</p>
|
||||
* That functionality is available in org.apache.commons.lang3.text.WordUtils.</p>
|
||||
*
|
||||
* @param str the String to swap case, may be null
|
||||
* @return the changed String, <code>null</code> if null String input
|
||||
|
|
Loading…
Reference in New Issue