docs: public static String trimToEmpty(final String s) {
          final String trimmed = trim(s);
          if (trimmed == null || trimmed.isEmpty()) {
              return "";
          } else {
              return trimmed;
          }
      }