apollo-core/src/main/java/com/ctrip/framework/apollo/core/utils/StringUtils.java/StringUtils/trimToEmpty
class StringUtils:  public static String trimToEmpty(String str) {
    return str == null ? EMPTY : str.trim();
  }