code: protected String defaultIfUnset(final String value, final String defaultValue) {
      return (StringUtils.hasText(value) ? value : defaultValue);
    }
docs: Returns value if not blank otherwise returns default value.
  
  @param value the String to evaluate for value (containing text).
  @param defaultValue the String value to return if the 'value' is blank.
  @return value if it has text otherwise returns the default value.
  @see org.cp.elements.lang.StringUtils#hasText(String)