public static String nullToEmpty(final String string) {
        return (string == null) ? "" : string;
    }
Returns the given string if it is non-null; the empty string otherwise.
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/util/Strings.java