You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewNullPointerException("Cannot use null value as condition for conditional configuration. " +
43
-
"Please ensure that you register a non-null condition.");
44
-
}
45
-
if (runnable == null) {
46
-
thrownewNullPointerException("Cannot use null value as runnable for conditional configuration. " +
47
-
"Please ensure that you register a non-null runnable.");
48
-
}
42
+
Objects.requireNonNull(condition, "Cannot use null value as condition for conditional configuration. Please ensure that you register a non-null condition.");
43
+
Objects.requireNonNull(runnable, "Cannot use null value as runnable for conditional configuration. Please ensure that you register a non-null runnable.");
49
44
if (ConfigurationCondition.alwaysTrue().equals(condition)) {
50
45
/* analysis optimization to include new types as early as possible */
0 commit comments