cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/eventcache/java/org/apache/cocoon/caching/validity EventValidity.java NameValueEvent.java NamedEvent.java
Date Fri, 21 Nov 2003 15:41:09 GMT
unico       2003/11/21 07:41:09

  Modified:    src/blocks/eventcache/java/org/apache/cocoon/caching/validity
                        EventValidity.java NameValueEvent.java
                        NamedEvent.java
  Log:
  implement toString methods for easier debugging
  
  Revision  Changes    Path
  1.3       +4 -1      cocoon-2.1/src/blocks/eventcache/java/org/apache/cocoon/caching/validity/EventValidity.java
  
  Index: EventValidity.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/eventcache/java/org/apache/cocoon/caching/validity/EventValidity.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EventValidity.java	5 Sep 2003 04:02:51 -0000	1.2
  +++ EventValidity.java	21 Nov 2003 15:41:09 -0000	1.3
  @@ -105,4 +105,7 @@
   		return m_event.hashCode();
   	}
   
  +    public String toString() {
  +        return "EventValidity[" + m_event + "]";
  +    }
   }
  
  
  
  1.3       +5 -1      cocoon-2.1/src/blocks/eventcache/java/org/apache/cocoon/caching/validity/NameValueEvent.java
  
  Index: NameValueEvent.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/eventcache/java/org/apache/cocoon/caching/validity/NameValueEvent.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NameValueEvent.java	5 Sep 2003 04:02:51 -0000	1.2
  +++ NameValueEvent.java	21 Nov 2003 15:41:09 -0000	1.3
  @@ -87,4 +87,8 @@
       public int hashCode() {
           return m_hashcode;
       }
  +    
  +    public String toString() {
  +        return "NameValueEvent[" + m_name + "," + m_value + "]";
  +    }
   }
  
  
  
  1.4       +4 -1      cocoon-2.1/src/blocks/eventcache/java/org/apache/cocoon/caching/validity/NamedEvent.java
  
  Index: NamedEvent.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/eventcache/java/org/apache/cocoon/caching/validity/NamedEvent.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- NamedEvent.java	15 Nov 2003 04:21:29 -0000	1.3
  +++ NamedEvent.java	21 Nov 2003 15:41:09 -0000	1.4
  @@ -82,4 +82,7 @@
           return m_hashcode;
       }
       
  +    public String toString() {
  +        return "NamedEvent[" + m_name + "]";
  +    }
   }
  
  
  

Mime
View raw message