code: public static String getFormattedName(final String orgText) {
          return trimAndNullIfEmpty(orgText) == null ? SPUIDefinitions.SPACE : orgText;
      }
docs: Null check for text.
  
  @param orgText
  text to be formatted
  @return String formatted text