scolebourne 2004/01/05 13:32:47
Modified: collections/src/java/org/apache/commons/collections/map
LRUMap.java
Log:
Fix javadoc, from Gary Gregory
Revision Changes Path
1.6 +2 -5
jakarta-commons/collections/src/java/org/apache/commons/collections/map/LRUMap.java
Index: LRUMap.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/LRUMap.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- LRUMap.java 2 Jan 2004 01:36:52 -0000 1.5
+++ LRUMap.java 5 Jan 2004 21:32:47 -0000 1.6
@@ -194,7 +194,6 @@
*
* @param entry the entry to update
* @param newValue the new value to store
- * @return value the previous value
*/
protected void updateEntry(HashEntry entry, Object newValue) {
moveToMRU((LinkEntry) entry); // handles modCount
@@ -210,7 +209,6 @@
* @param hashCode the hash code of the key to add
* @param key the key to add
* @param value the value to add
- * @return the value previously mapped to this key, null if none
*/
protected void addMapping(int hashIndex, int hashCode, Object key, Object
value) {
if (size >= maxSize && removeLRU(header.before)) {
@@ -228,7 +226,6 @@
* @param hashCode the hash code of the key to add
* @param key the key to add
* @param value the value to add
- * @return the value previously mapped to this key, null if none
*/
protected void reuseMapping(LinkEntry entry, int hashIndex, int hashCode,
Object key, Object value) {
// find the entry before the entry specified in the hash table
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]