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