code review

You can use `StringUtils.isEmpty()`