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/scratchpad/java/org/apache/cocoon/components/store ehcache-defaults.xml EHStore.java
Date Thu, 08 Jul 2004 09:23:15 GMT
unico       2004/07/08 02:23:15

  Modified:    src/blocks/scratchpad/java/org/apache/cocoon/components/store
                        ehcache-defaults.xml EHStore.java
  Log:
  nit picking
  
  Revision  Changes    Path
  1.3       +2 -2      cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/store/ehcache-defaults.xml
  
  Index: ehcache-defaults.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/store/ehcache-defaults.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ehcache-defaults.xml	23 Mar 2004 02:20:10 -0000	1.2
  +++ ehcache-defaults.xml	8 Jul 2004 09:23:15 -0000	1.3
  @@ -34,8 +34,8 @@
           The following attributes are required for defaultCache:
   
           maxInMemory       - Sets the maximum number of objects that will be created in
memory
  -        eternal           - Sets whether elements are eternal. If eternal,  timeouts are
ignored and the element
  -                            is never expired.
  +        eternal           - Sets whether elements are eternal. If eternal,  timeouts are
ignored 
  +                            and the element is never expired.
           timeToIdleSeconds - Sets the time to idle for an element before it expires. Is
only used
                               if the element is not eternal.
           timeToLiveSeconds - Sets the time to idle for an element before it expires. Is
only used
  
  
  
  1.6       +10 -10    cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/store/EHStore.java
  
  Index: EHStore.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/store/EHStore.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- EHStore.java	11 Jun 2004 16:19:04 -0000	1.5
  +++ EHStore.java	8 Jul 2004 09:23:15 -0000	1.6
  @@ -71,7 +71,7 @@
       /** The store janitor */
       private StoreJanitor storeJanitor;
       
  -    /* (non-Javadoc)
  +    /*
        * @see org.apache.avalon.framework.service.Serviceable#service(org.apache.avalon.framework.service.ServiceManager)
        */
       public void service(ServiceManager aManager) throws ServiceException {
  @@ -132,7 +132,7 @@
       
       // ---------------------------------------------------- Store implementation
       
  -    /* (non-Javadoc)
  +    /*
        * @see org.apache.excalibur.store.Store#free()
        */
       public Object get(Object key) {
  @@ -157,7 +157,7 @@
           return value;
       }
   
  -    /* (non-Javadoc)
  +    /*
        * @see org.apache.excalibur.store.Store#free()
        */
       public void store(Object key, Object value) throws IOException {
  @@ -168,14 +168,14 @@
           this.cache.put(element);
       }
   
  -    /* (non-Javadoc)
  +    /*
        * @see org.apache.excalibur.store.Store#free()
        */
       public void free() {
  -        // FIXME - we have to implement this!
  +        // FIXME: we have to implement this!
       }
   
  -    /* (non-Javadoc)
  +    /*
        * @see org.apache.excalibur.store.Store#remove(java.lang.Object)
        */
       public void remove(Object key) {
  @@ -185,7 +185,7 @@
           this.cache.remove((Serializable) key);
       }
   
  -    /* (non-Javadoc)
  +    /*
        * @see org.apache.excalibur.store.Store#clear()
        */
       public void clear() {
  @@ -200,7 +200,7 @@
           }
       }
   
  -    /* (non-Javadoc)
  +    /*
        * @see org.apache.excalibur.store.Store#containsKey(java.lang.Object)
        */
       public boolean containsKey(Object key) {
  @@ -213,14 +213,14 @@
           return false;
       }
   
  -    /* (non-Javadoc)
  +    /*
        * @see org.apache.excalibur.store.Store#keys()
        */
       public Enumeration keys() {
           return Collections.enumeration(this.cache.getKeys());
       }
   
  -    /* (non-Javadoc)
  +    /*
        * @see org.apache.excalibur.store.Store#size()
        */
       public int size() {
  
  
  

Mime
View raw message