Use StringUtils.isBlank() like dizzzz advised