Paul Benedict wrote:
Joe,

I'm preparing the first round of java.util.Objects with the
single-argument static toString method return "null" for null for final
review.

Why would you choose to return "null" for any null object?

Because that is how the platform has always treated null in string concatenation.

Everyone
who has opined did disagree with replicating String.valueOf()
behavior.

The people who disagreed with the replication disagreed with the replication. Others disagreed with the behavior.

-Joe

Reply via email to