Class Preconditions
java.lang.Object
se.bjurr.gitchangelog.internal.util.Preconditions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckArgument(boolean b, String string) static <T> TcheckNotNull(T it, String string) static voidcheckState(boolean b, String string) static StringemptyToNull(String from) static <T> TfirstNonNull(T t1, T t2) static booleanisNullOrEmpty(String it) static StringnullToEmpty(String it)
-
Constructor Details
-
Preconditions
public Preconditions()
-
-
Method Details
-
checkState
-
checkArgument
-
isNullOrEmpty
-
nullToEmpty
-
checkNotNull
-
emptyToNull
-
firstNonNull
public static <T> T firstNonNull(T t1, T t2)
-