avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/info Attribute.java
Date Fri, 04 Oct 2002 05:50:50 GMT
donaldp     2002/10/03 22:50:50

  Modified:    info/src/java/org/apache/avalon/framework/info
                        Attribute.java
  Log:
  Added a toString() method that displays attribute name and parameters
  
  Revision  Changes    Path
  1.3       +6 -1      jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/info/Attribute.java
  
  Index: Attribute.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/info/Attribute.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Attribute.java	2 Oct 2002 01:47:01 -0000	1.2
  +++ Attribute.java	4 Oct 2002 05:50:50 -0000	1.3
  @@ -119,4 +119,9 @@
               return (String[])m_parameters.keySet().toArray( EMPTY_SET );
           }
       }
  +
  +    public String toString()
  +    {
  +        return getName() + m_parameters;
  +    }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message