chore: add small comment to preCondition

This commit is contained in:
thecockatiel 2025-01-05 13:55:09 +03:30
parent 1c8b906d61
commit 61c90bfd39
No known key found for this signature in database
GPG key ID: 3E5CDC091FAF3BBA

View file

@ -218,6 +218,7 @@ public class FluentProtocol {
return this;
}
/** Calling this more than once discards the previous conditionFailedHandler */
public Condition preCondition(boolean preCondition, Runnable conditionFailedHandler) {
checkArgument(result == null);
preCondition(preCondition);