typo
using java 6 String#isEmpty
code cleaning
code cleaning