cvs commit: jakarta-oro/src/java/org/apache/oro/util CacheLRU.java
[email protected] 20 Oct 2003 19:21:42 -0000
| Newsgroups | gmane.comp.jakarta.oro.devel |
|---|---|
| Message-ID | <[email protected]> |
dfs 2003/10/20 12:21:42 Modified: src/java/org/apache/oro/util CacheLRU.java Log: Fixed description of addElement in response to Bugzilla report 23918 submitted by [email protected]. Revision Changes Path 1.8 +3 -3 jakarta-oro/src/java/org/apache/oro/util/CacheLRU.java Index: CacheLRU.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/util/CacheLRU.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- CacheLRU.java 12 Aug 2003 18:11:32 -0000 1.7 +++ CacheLRU.java 20 Oct 2003 19:21:42 -0000 1.8 @@ -155,8 +155,8 @@ /** * Adds a value to the cache. If the cache is full, when a new value - * is added to the cache, it replaces the first of the current values - * in the cache to have been added (i.e., FIFO). + * is added to the cache, it replaces the least recently used value + * in the cache to have been added (i.e., LRU). * <p> * @param key The key referencing the value added to the cache. * @param value The value to add to the cache.