JBIDE-15343
JBIDE-15334 - Use Java5 method to check is String is empty