Use
String.length() == 0
instead. It is backwards compatible all the way back to JDK 1.0 ... and with J2ME as well.String.equals("")
is another alternative.
No comments:
Post a Comment