Objects.toString [Re: What methods should go into a java.util.Objects class in JDK 7?]
jason_mehrens at hotmail.com
Thu Oct 8 17:10:09 UTC 2009
+1, return empty string for the one arg and add the two arg variant. The j.u.Properties.getProperty(String, String) could use it first. Just curious, what does project jigsaw think of j.u.Objects?
> Date: Thu, 8 Oct 2009 11:47:49 +0100
> Subject: Objects.toString [Re: What methods should go into a java.util.Objects class in JDK 7?]
> From: scolebourne at joda.org
> To: core-libs-dev at openjdk.java.net
> A number of us are proposing that Objects.toString(obj) should return
> "" when the object is null. I'm strongly in favour of this, and it
> removes any discussion of duplicated API (as it does something
> different and more useful).
> In favour/against +1/-1 ?
Hotmail: Powerful Free email with security by Microsoft.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the core-libs-dev