commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r556358 - /jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/FastHashMap.java
Date Sun, 15 Jul 2007 00:16:45 GMT
Author: niallp
Date: Sat Jul 14 17:16:44 2007
New Revision: 556358

URL: http://svn.apache.org/viewvc?view=rev&rev=556358
Log:
Minor javadoc and code style change

Modified:
    jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/FastHashMap.java

Modified: jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/FastHashMap.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/FastHashMap.java?view=diff&rev=556358&r1=556357&r2=556358
==============================================================================
--- jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/FastHashMap.java
(original)
+++ jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/FastHashMap.java
Sat Jul 14 17:16:44 2007
@@ -435,6 +435,7 @@
     /**
      * Return a collection view of the mappings contained in this map.  Each
      * element in the returned collection is a <code>Map.Entry</code>.
+     * @return the set of map Map entries
      */
     public Set entrySet() {
         return new EntrySet();
@@ -442,6 +443,7 @@
 
     /**
      * Return a set view of the keys contained in this map.
+     * @return the set of the Map's keys
      */
     public Set keySet() {
         return new KeySet();
@@ -449,6 +451,7 @@
 
     /**
      * Return a collection view of the values contained in this map.
+     * @return the set of the Map's values
      */
     public Collection values() {
         return new Values();
@@ -589,7 +592,9 @@
 
 
         public boolean equals(Object o) {
-            if (o == this) return true;
+            if (o == this) {
+                return true;
+            }
             if (fast) {
                 return get(map).equals(o);
             } else {



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message