What methods should go into a java.util.Objects class in JDK 7?
martinrb at google.com
Thu Sep 10 23:56:29 UTC 2009
On Thu, Sep 10, 2009 at 16:48, Joe Darcy<Joe.Darcy at sun.com> wrote:
> Martin Buchholz wrote:
>> On Thu, Sep 10, 2009 at 15:48, Joe Darcy<Joe.Darcy at sun.com> wrote:
>>> On 09/09/09 08:01 PM, Joe Darcy wrote:
>>> I noticed that the Character class should be similarly tightened:
>> Right you are. Webrev regenerated.
> One typo inherited from my earlier suggestion (mea culpa!): as the Character
> class is not a java.lang.Number, it does not have an intValue method.
> Character does have a charValue method and referring to that method in the
> specification of hashCode should suffice.
> I approve this change going back with the correction to the Character class.
Oops! so many little mistakes. Webrev regenerated.
More information about the core-libs-dev