commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fred...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang CharUtils.java
Date Thu, 26 Feb 2004 21:10:01 GMT
fredrik     2004/02/26 13:10:01

  Modified:    lang/src/java/org/apache/commons/lang CharUtils.java
  Log:
  Fixed some typos in javadoc.
  
  Revision  Changes    Path
  1.6       +10 -10    jakarta-commons/lang/src/java/org/apache/commons/lang/CharUtils.java
  
  Index: CharUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/CharUtils.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CharUtils.java	24 Feb 2004 22:22:51 -0000	1.5
  +++ CharUtils.java	26 Feb 2004 21:10:01 -0000	1.6
  @@ -136,10 +136,10 @@
        * an exception on empty Strings.</p>
        * 
        * <pre>
  -     *   CharUtils.toCharacter(null, 'X') = IllegalArgumentException
  -     *   CharUtils.toCharacter("", 'X')   = IllegalArgumentException
  -     *   CharUtils.toCharacter("A", 'X')  = 'A'
  -     *   CharUtils.toCharacter("BA", 'X') = 'B'
  +     *   CharUtils.toCharacter(null) = IllegalArgumentException
  +     *   CharUtils.toCharacter("")   = IllegalArgumentException
  +     *   CharUtils.toCharacter("A")  = 'A'
  +     *   CharUtils.toCharacter("BA") = 'B'
        * </pre>
        *
        * @param str  the character to convert
  @@ -321,8 +321,8 @@
        * <p>This format is the Java source code format.</p>
        *
        * <pre>
  -     *   CharUtils.toUnicode(' ') = "\u0020"
  -     *   CharUtils.toUnicode('A') = "\u0041"
  +     *   CharUtils.unicodeEscaped(' ') = "\u0020"
  +     *   CharUtils.unicodeEscaped('A') = "\u0041"
        * </pre>
        * 
        * @param ch  the character to convert
  @@ -347,9 +347,9 @@
        * <p>If <code>null</code> is passed in, <code>null</code>
will be returned.</p>
        *
        * <pre>
  -     *   CharUtils.toUnicode(null) = null
  -     *   CharUtils.toUnicode(' ')  = "\u0020"
  -     *   CharUtils.toUnicode('A')  = "\u0041"
  +     *   CharUtils.unicodeEscaped(null) = null
  +     *   CharUtils.unicodeEscaped(' ')  = "\u0020"
  +     *   CharUtils.unicodeEscaped('A')  = "\u0041"
        * </pre>
        * 
        * @param ch  the character to convert, may be null
  
  
  

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


Mime
View raw message