code: public static String alternative(final String original, final String alternative) {
      return isEmpty(original) ? alternative : original;
    }
docs: checks if the original string is empty. if empty/null return the alternative, otherwise the
  original
  
  @param original
  @param alternative
  @return