public static String emptyToNull(final String string) {
        return isNullOrEmpty(string) ? null : string;
    }
Returns the given string if it is nonempty; {@code null} otherwise.
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/util/Strings.java