You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by gg...@apache.org on 2004/07/01 19:10:48 UTC

cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/builder ToStringStyle.java ReflectionToStringBuilder.java ToStringBuilder.java

ggregory    2004/07/01 10:10:48

  Modified:    lang/src/java/org/apache/commons/lang/builder
                        ToStringStyle.java ReflectionToStringBuilder.java
                        ToStringBuilder.java
  Log:
  PR: http://issues.apache.org/bugzilla/show_bug.cgi?id=27876
  [lang] ReflectionToStringBuilder.toString(null) throws exception by design
  Javadoc updates.
  
  Revision  Changes    Path
  1.31      +2 -3      jakarta-commons/lang/src/java/org/apache/commons/lang/builder/ToStringStyle.java
  
  Index: ToStringStyle.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/builder/ToStringStyle.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- ToStringStyle.java	30 Jun 2004 18:21:49 -0000	1.30
  +++ ToStringStyle.java	1 Jul 2004 17:10:47 -0000	1.31
  @@ -230,8 +230,7 @@
        * <p>Append to the <code>toString</code> the start of data indicator.</p>
        * 
        * @param buffer  the <code>StringBuffer</code> to populate
  -     * @param object  the <code>Object</code> to build a
  -     *  <code>toString</code> for, must not be <code>null</code>
  +     * @param object  the <code>Object</code> to build a <code>toString</code> for
        */
       public void appendStart(StringBuffer buffer, Object object) {
           if (object != null) {
  
  
  
  1.19      +3 -6      jakarta-commons/lang/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java
  
  Index: ReflectionToStringBuilder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/builder/ReflectionToStringBuilder.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ReflectionToStringBuilder.java	18 Feb 2004 23:22:30 -0000	1.18
  +++ ReflectionToStringBuilder.java	1 Jul 2004 17:10:47 -0000	1.19
  @@ -488,8 +488,7 @@
        * </p>
        * 
        * @param object
  -     *                  the Object to build a <code>toString</code> for, must not
  -     *                  be <code>null</code>
  +     *                  the Object to build a <code>toString</code> for
        * @param style
        *                  the style of the <code>toString</code> to create, may be
        *                  <code>null</code>
  @@ -509,8 +508,7 @@
        *                     {@link #ReflectionToStringBuilder(Object,ToStringStyle,StringBuffer,Class,boolean,boolean)}.
        * 
        * @param object
  -     *                  the Object to build a <code>toString</code> for, must not
  -     *                  be <code>null</code>
  +     *                  the Object to build a <code>toString</code> for
        * @param style
        *                  the style of the <code>toString</code> to create, may be
        *                  <code>null</code>
  @@ -532,8 +530,7 @@
        * Constructor.
        * 
        * @param object
  -     *                  the Object to build a <code>toString</code> for, must not
  -     *                  be <code>null</code>
  +     *                  the Object to build a <code>toString</code> for
        * @param style
        *                  the style of the <code>toString</code> to create, may be
        *                  <code>null</code>
  
  
  
  1.34      +4 -7      jakarta-commons/lang/src/java/org/apache/commons/lang/builder/ToStringBuilder.java
  
  Index: ToStringBuilder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/builder/ToStringBuilder.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- ToStringBuilder.java	30 Jun 2004 18:21:49 -0000	1.33
  +++ ToStringBuilder.java	1 Jul 2004 17:10:47 -0000	1.34
  @@ -189,8 +189,7 @@
        * <p>This constructor outputs using the default style set with
        * <code>setDefaultStyle</code>.</p>
        * 
  -     * @param object  the Object to build a <code>toString</code> for,
  -     *  must not be <code>null</code>
  +     * @param object  the Object to build a <code>toString</code> for
        * @throws IllegalArgumentException  if the Object passed in is
        *  <code>null</code>
        */
  @@ -204,8 +203,7 @@
        *
        * <p>If the style is <code>null</code>, the default style is used.</p>
        * 
  -     * @param object  the Object to build a <code>toString</code> for,
  -     *  must not be <code>null</code>
  +     * @param object  the Object to build a <code>toString</code> for
        * @param style  the style of the <code>toString</code> to create,
        *  may be <code>null</code>
        * @throws IllegalArgumentException  if the Object passed in is
  @@ -222,8 +220,7 @@
        *
        * <p>If the buffer is <code>null</code>, a new one is created.</p>
        * 
  -     * @param object  the Object to build a <code>toString</code> for,
  -     *  must not be <code>null</code>
  +     * @param object  the Object to build a <code>toString</code> for
        * @param style  the style of the <code>toString</code> to create,
        *  may be <code>null</code>
        * @param buffer  the <code>StringBuffer</code> to populate, may be
  
  
  

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