RFR 8214971 : Replace use of string.equals("") with isEmpty()

Joseph D. Darcy joe.darcy at oracle.com
Thu Dec 6 22:33:07 UTC 2018


On 12/6/2018 1:08 PM, Pavel Rappo wrote:
> Roger, changes look good. On a side note, it's impressive how many cases we have
> when we check for string not being null and empty. We should have had something
> for that *internally* in the JDK.

Or perhaps that should be a utility method on String or java.util.Objects?

-Joe



More information about the core-libs-dev mailing list