All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.javers.common.string.Strings Maven / Gradle / Ivy

package org.javers.common.string;

public class Strings {
    public static boolean isNonEmpty(String val) {
        return val != null && !val.isEmpty();
    }

    public static String emptyIfNull(String val) {
        if (val == null) {
            return "";
        }
        return val;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy