scolebourne    2003/07/19 13:21:39

  Modified:    lang/src/java/org/apache/commons/lang ObjectUtils.java
  Log:
  Document null behaviour
  
  Revision  Changes    Path
  1.12      +8 -3      
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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ObjectUtils.java  16 Jul 2003 01:47:39 -0000      1.11
  +++ ObjectUtils.java  19 Jul 2003 20:21:39 -0000      1.12
  @@ -54,8 +54,13 @@
   package org.apache.commons.lang;
   
   import java.io.Serializable;
  +
   /**
    * <p>Common <code>Object</code> manipulation routines.</p>
  + * 
  + * <p>This class tries to handle <code>null</code> input gracefully.
  + * An exception will generally not be thrown for a <code>null</code> input.
  + * Each method documents its behaviour in more detail.</p>
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Nissim Karpenstein</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Janek Bogucki</a>
  @@ -130,7 +135,7 @@
       
       /**
        * <p>Gets the toString that would be produced by <code>Object</code>
  -     * if a class did not override toString itself. <code>Null</code>
  +     * if a class did not override toString itself. <code>null</code>
        * will return <code>null</code>.</p>
        *
        * @param object  the object to create a toString for, may be
  @@ -147,7 +152,7 @@
   
       /**
        * <p>Appends the toString that would be produced by <code>Object</code>
  -     * if a class did not override toString itself. <code>Null</code>
  +     * if a class did not override toString itself. <code>null</code>
        * will return <code>null</code>.</p>
        *
        * @param buffer  the buffer to append to, may not be
  
  
  

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

Reply via email to