8217393: Clarify Attributes.equals()
authorlancea
Mon, 04 Feb 2019 14:10:53 -0500
changeset 53630 53c72d9d962b
parent 53629 c55c3e41cecd
child 53631 a5321bcfa2de
child 57141 e7ba8c89abe7
8217393: Clarify Attributes.equals() Reviewed-by: alanb, darcy, rriggs, martin
src/java.base/share/classes/java/util/jar/Attributes.java
--- a/src/java.base/share/classes/java/util/jar/Attributes.java	Mon Feb 04 10:04:04 2019 -0800
+++ b/src/java.base/share/classes/java/util/jar/Attributes.java	Mon Feb 04 14:10:53 2019 -0500
@@ -265,9 +265,10 @@
     }
 
     /**
-     * Compares the specified Attributes object with this Map for equality.
-     * Returns true if the given object is also an instance of Attributes
-     * and the two Attributes objects represent the same mappings.
+     * Compares the specified object to the underlying
+     * {@linkplain Attributes#map map} for equality.
+     * Returns true if the given object is also a Map
+     * and the two maps represent the same mappings.
      *
      * @param o the Object to be compared
      * @return true if the specified Object is equal to this Map