RFR: JDK-8217393 Re: Clarification in Attributes equal
Alan Bateman
Alan.Bateman at oracle.com
Sun Jan 27 07:39:16 UTC 2019
On 25/01/2019 19:44, Lance Andersen wrote:
> Thank you Joe.
>
> So the change is (see bolded change):
>
> $ hg diff
> diff -r 6130409b923e src/java.base/share/classes/java/util/jar/Attributes.java
> --- a/src/java.base/share/classes/java/util/jar/Attributes.java Thu Jan 24 10:57:31 2019 -0800
> +++ b/src/java.base/share/classes/java/util/jar/Attributes.java Fri Jan 25 14:44:12 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 map map} for equality.
> + * Returns true if the given object is also a Map
> + * and the two maps represent the same mappings.
>
This wording looks okay (I see the other mails about fixing the javadoc
link).
-Alan
More information about the core-libs-dev
mailing list