refactoring: prefer StringUtils.defaultIfBlank over an explicit test