Objects.toString [Re: What methods should go into a java.util.Objects class in JDK 7?]
Joseph D. Darcy
Joe.Darcy at Sun.COM
Fri Oct 9 17:02:42 UTC 2009
Eamonn McManus wrote:
> David Holmes - Sun Microsystems wrote:
> > So to me: String toString(Object o, String useIfNull) is the only
> method
> > that provides true utility in this case.
>
> I agree with that, and would just suggest to the person specifying the
> method
> to add a @see String#valueOf(Object). I find that the behaviour of
> that method
Agreed, that @see, amongst others, has been in the patch for this change
http://cr.openjdk.java.net/~darcy/6797535.1/
-Joe
More information about the core-libs-dev
mailing list