Author: bayard
Date: Tue Jan 1 23:23:14 2008
New Revision: 608030
URL: http://svn.apache.org/viewvc?rev=608030&view=rev
Log:
Updating javadoc as per COLLECTIONS-262 - the firstKey and lastKey javadoc
methods were back to front for parts of their description
Modified:
commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
Modified:
commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
URL:
http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java?rev=608030&r1=608029&r2=608030&view=diff
==============================================================================
---
commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
(original)
+++
commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
Tue Jan 1 23:23:14 2008
@@ -168,9 +168,9 @@
//-----------------------------------------------------------------------
/**
- * Gets the first key in the map, which is the most recently inserted.
+ * Gets the first key in the map, which is the first inserted.
*
- * @return the most recently inserted key
+ * @return the eldest key
*/
public Object firstKey() {
if (size == 0) {
@@ -180,9 +180,9 @@
}
/**
- * Gets the last key in the map, which is the first inserted.
+ * Gets the last key in the map, which is the most recently inserted.
*
- * @return the eldest key
+ * @return the most recently inserted key
*/
public Object lastKey() {
if (size == 0) {