Fix javadoc descriptions

from Christian Ullenboom


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137823 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2004-03-10 22:59:45 +00:00
parent 87f5f094fb
commit 172d1fa7f8
1 changed files with 6 additions and 6 deletions

View File

@ -24,7 +24,7 @@
*
* @author Stephen Colebourne
* @since 2.1
* @version $Id: CharUtils.java,v 1.6 2004/02/26 21:10:01 fredrik Exp $
* @version $Id: CharUtils.java,v 1.7 2004/03/10 22:59:45 scolebourne Exp $
*/
public class CharUtils {
@ -94,13 +94,13 @@ public static Character toCharacterObject(char ch) {
* <p>Converts the Character to a char throwing an exception for <code>null</code>.</p>
*
* <pre>
* CharUtils.toCharacter(null, 'X') = IllegalArgumentException
* CharUtils.toCharacter(' ', 'X') = ' '
* CharUtils.toCharacter('A', 'X') = 'A'
* CharUtils.toCharacter(null) = IllegalArgumentException
* CharUtils.toCharacter(' ') = ' '
* CharUtils.toCharacter('A') = 'A'
* </pre>
*
* @param ch the character to convert
* @return the char value of the Character or the default if null
* @return the char value of the Character
* @throws IllegalArgumentException if the Character is null
*/
public static char toCharacter(Character ch) {
@ -143,7 +143,7 @@ public static char toCharacter(Character ch, char defaultValue) {
* </pre>
*
* @param str the character to convert
* @return the char value of the Character or the default if null
* @return the char value of the Character
* @throws IllegalArgumentException if the String is empty
*/
public static char toCharacter(String str) {