I have a co-worker that swears by
//in a singleton \"Constants\" class public static final String EMPTY_STRING = \"\";
in a constants class
I don't like either choice. Why not if (otherString.length() == 0)
if (otherString.length() == 0)
Edit: I actually always code
if (otherString == null || otherString.length() == 0)