Author: tn
Date: Sat Jan 24 14:13:16 2015
New Revision: 1654521
URL: http://svn.apache.org/r1654521
Log:
[COLLECTIONS-523] Add javadoc and close pull request. This closes #2.
Modified:
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java
Modified:
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java
URL:
http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java?rev=1654521&r1=1654520&r2=1654521&view=diff
==============================================================================
---
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java
(original)
+++
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/map/PassiveExpiringMap.java
Sat Jan 24 14:13:16 2015
@@ -425,6 +425,12 @@ public class PassiveExpiringMap<K, V>
return System.currentTimeMillis();
}
+ /**
+ * Add the given key-value pair to this map as well as recording the
entry's expiration time based on
+ * the current time in milliseconds and this map's {@link #expiringPolicy}.
+ * <p>
+ * {@inheritDoc}
+ */
@Override
public V put(final K key, final V value) {
// record expiration time of new entry