commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections BeanMap.java
Date Fri, 18 Apr 2003 23:29:24 GMT
rwaldhoff    2003/04/18 16:29:24

  Modified:    collections/src/java/org/apache/commons/collections
                        BeanMap.java
  Log:
  address bug 19096 by adding a simple toString method
  
  Revision  Changes    Path
  1.18      +7 -3      jakarta-commons/collections/src/java/org/apache/commons/collections/BeanMap.java
  
  Index: BeanMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/BeanMap.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- BeanMap.java	3 Mar 2003 19:41:29 -0000	1.17
  +++ BeanMap.java	18 Apr 2003 23:29:24 -0000	1.18
  @@ -185,7 +185,7 @@
   
       /**
        * Constructs a new <code>BeanMap</code> that operates on the 
  -     * specified bean.  If the given bean is <code>null</COde>, then
  +     * specified bean.  If the given bean is <code>null</code>, then
        * this map will be empty.
        *
        * @param bean  the bean for this map to operate on
  @@ -198,6 +198,10 @@
       // Map interface
       //-------------------------------------------------------------------------
   
  +    public String toString() {
  +        return "BeanMap<" + String.valueOf(bean) + ">";
  +    }
  +    
       /**
        * Clone this bean map using the following process: 
        *
  
  
  

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