First round of java.util.Objects for code review (bug 6797535) (original) (raw)
Ulf Zibis Ulf.Zibis at gmx.de
Fri Oct 9 09:39:17 UTC 2009
- Previous message: First round of java.util.Objects for code review (bug 6797535)
- Next message: First round of java.util.Objects for code review (bug 6797535)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am 09.10.2009 11:36, Eamonn McManus schrieb:
> The spec, you mention, refers to the instance method equals(), but here > we are talking about static helpers.
The difference between Marek's suggestion and Joe's is what happens when the equals(Object) method of a or b returns true for a null argument, and that is what I was saying violates the spec. I got it, thanks.
-Ulf
- Previous message: First round of java.util.Objects for code review (bug 6797535)
- Next message: First round of java.util.Objects for code review (bug 6797535)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]