Files
gerrit/gerrit-server/src/main/java/com/google/gerrit
Dave Borowitz ba4243ccfc Move boolean args from canSubmit to SubmitRuleEvaluator
Remove the check for the current patch set, since this is not a
requirement of SubmitRuleEvaluator. It is also redundant for
canSubmit; all existing callers either pass in the current patch set
explicitly (e.g. QueryProcessor) or, in the case of Submit, have their
own check that the patch set is current.

The result of this is that canSubmit is now a thin wrapper around
SubmitRuleEvaluator and can be removed in a later change.

Change-Id: Ice4fd5f0af089f098eed9feadd43263189959995
2014-10-17 11:54:06 -07:00
..