User: simone  
  Date: 00/10/19 14:50:53

  Modified:    src/main/org/jboss/util LRUCachePolicy.java
  Log:
  Added a javadoc comment to method ageOut
  
  Revision  Changes    Path
  1.3       +3 -2      jboss/src/main/org/jboss/util/LRUCachePolicy.java
  
  Index: LRUCachePolicy.java
  ===================================================================
  RCS file: /products/cvs/ejboss/jboss/src/main/org/jboss/util/LRUCachePolicy.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LRUCachePolicy.java       2000/10/18 16:23:24     1.2
  +++ LRUCachePolicy.java       2000/10/19 21:50:52     1.3
  @@ -12,7 +12,7 @@
    * Implementation of a Least Recently Used cache policy.
    *
    * @author Simone Bordet ([EMAIL PROTECTED])
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class LRUCachePolicy 
        implements CachePolicy
  @@ -195,10 +195,11 @@
        /**
         * Callback method called when the cache algorithm ages out of the cache 
         * the given entry. <br>
  +      * The implementation here is removing the given entry from the cache.
         */
        protected void ageOut(LRUCacheEntry entry) 
        {
  -        remove(entry);
  +             remove(entry);
        }
        /**
         * Callback method called when a cache miss happens.
  
  
  

Reply via email to