models for Preconditions.checkArgument

Reviewed By: peterogithub

Differential Revision: D3383983

fbshipit-source-id: bb6a551
master
Jeremy Dubreil 9 years ago committed by Facebook Github Bot 2
parent 17da853fa8
commit a756b7bff2

@ -45,4 +45,19 @@ public final class Preconditions {
assume(expression);
}
public static void checkArgument(boolean expression) {
assume(expression);
}
public static void checkArgument(boolean expression, @Nullable Object errorMessage) {
assume(expression);
}
public static void checkArgument(
boolean expression,
@Nullable String errorMessageTemplate,
@Nullable Object... errorMessageArgs) {
assume(expression);
}
}

Loading…
Cancel
Save