What methods should go into a java.util.Objects class in JDK 7?
Ulf Zibis
Ulf.Zibis at gmx.de
Mon Oct 12 11:53:33 UTC 2009
+1
-Ulf
Am 16.09.2009 13:33, Stephen Colebourne schrieb:
> 2009/9/15 Martin Buchholz <martinrb at google.com>:
>
>> This test is particularly uninteresting. I'll commit soon even if I
>> don't get any review comments.
>>
>
> * Returns a hash code for this {@code Byte}; equal to the result
> * of invoking {@code intValue()}.
>
> Doesn't this mean that the added part about intValue() will appear in
> the summary text for the method in Javadoc? I'd consider the 'how the
> method operates' to be detail, not summary, so would prefer:
>
> * Returns a hash code for this {@code Byte}.
> * The hash code is equal to the result of invoking {@code intValue()}.
>
> Stephen
>
>
>
More information about the core-libs-dev
mailing list