commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/builder ToStringStyle.java
Date Fri, 18 Apr 2003 04:57:20 GMT
bayard      2003/04/17 21:57:20

  Modified:    lang/src/java/org/apache/commons/lang/builder
                        ToStringStyle.java
  Log:
  Put } and else on the same line.
  
  Revision  Changes    Path
  1.13      +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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- ToStringStyle.java	8 Apr 2003 22:34:53 -0000	1.12
  +++ ToStringStyle.java	18 Apr 2003 04:57:19 -0000	1.13
  @@ -333,8 +333,7 @@
                   && !(value instanceof Number || value instanceof Boolean || value
instanceof Character)) {
               appendAsObjectToString(buffer, value);
               
  -        } 
  -        else if (value instanceof Collection) {
  +        } else if (value instanceof Collection) {
               if (detail) {
                   appendDetail(buffer, fieldName, (Collection) value);
               } else {
  
  
  

---------------------------------------------------------------------
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