jugLviv

Meta


Share on:


#tip #java

JUG LvivJUG Lviv

If you are not 100% sure prefer String.valueOf(value) over new String(value).

Inside valueOf method we have check on null so that you’ll never get NPE

JUG Lviv
Author