avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-logkit/src/java/org/apache/log Priority.java
Date Mon, 02 Apr 2001 00:03:30 GMT
donaldp     01/04/01 17:03:30

  Modified:    src/java/org/apache/log Priority.java
  Log:
  Added toString method.
  
  Revision  Changes    Path
  1.3       +5 -0      jakarta-avalon-logkit/src/java/org/apache/log/Priority.java
  
  Index: Priority.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-logkit/src/java/org/apache/log/Priority.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Priority.java	2001/03/27 13:25:36	1.2
  +++ Priority.java	2001/04/02 00:03:29	1.3
  @@ -53,6 +53,11 @@
               m_priority = priority;
           }
   
  +        public String toString()
  +        {
  +            return "Priority[" + m_name + "/" + m_priority + "]";
  +        }
  +
           public int getPriority() 
           {
               return m_priority;
  
  
  

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


Mime
View raw message