org.javers.common.string.Strings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javers-core Show documentation
Show all versions of javers-core Show documentation
JaVers - object auditing and diff framework for Java
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;
}
}