commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang ObjectUtils.java StringUtils.java
Date Wed, 13 Aug 2003 23:30:58 GMT
scolebourne    2003/08/13 16:30:58

  Modified:    lang/src/java/org/apache/commons/lang ObjectUtils.java
                        StringUtils.java
  Log:
  Added extra alternatives as @see links in toString conversions
  improvement suggested by Henning Schmiedehausen
  
  Revision  Changes    Path
  1.17      +5 -1      jakarta-commons/lang/src/java/org/apache/commons/lang/ObjectUtils.java
  
  Index: ObjectUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/ObjectUtils.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ObjectUtils.java	1 Aug 2003 20:45:17 -0000	1.16
  +++ ObjectUtils.java	13 Aug 2003 23:30:58 -0000	1.17
  @@ -220,6 +220,8 @@
        * ObjectUtils.toString(Boolean.TRUE) = "true"
        * </pre>
        * 
  +     * @see StringUtils#defaultString(String)
  +     * @see String#valueOf(Object)
        * @param obj  the Object to <code>toString</code>, may be null
        * @return the passed in Object's toString, or nullStr if <code>null</code>
input
        */
  @@ -239,6 +241,8 @@
        * ObjectUtils.toString(Boolean.TRUE, "null") = "true"
        * </pre>
        * 
  +     * @see StringUtils#defaultString(String,String)
  +     * @see String#valueOf(Object)
        * @param obj  the Object to <code>toString</code>, may be null
        * @param nullStr  the String to return if <code>null</code> input, may
be null
        * @return the passed in Object's toString, or nullStr if <code>null</code>
input
  
  
  
  1.93      +5 -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.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- StringUtils.java	13 Aug 2003 21:32:10 -0000	1.92
  +++ StringUtils.java	13 Aug 2003 23:30:58 -0000	1.93
  @@ -3877,6 +3877,8 @@
        * StringUtils.defaultString("bat") = "bat"
        * </pre>
        * 
  +     * @see ObjectUtils#toString(Object)
  +     * @see String#valueOf(Object)
        * @param str  the String to check, may be null
        * @return the passed in String, or the empty String if it
        *  was <code>null</code>
  @@ -3895,6 +3897,8 @@
        * StringUtils.defaultString("bat", "null") = "bat"
        * </pre>
        * 
  +     * @see ObjectUtils#toString(Object,String)
  +     * @see String#valueOf(Object)
        * @param str  the String to check, may be null
        * @param defaultStr  the default String to return 
        *  if the input is <code>null</code>, may be null
  
  
  

Mime
View raw message