From 149eba4043cd898d0fd3302b78dfe37db261e9bb Mon Sep 17 00:00:00 2001 From: Shawn Pearce Date: Sun, 18 Sep 2016 08:06:14 -0700 Subject: [PATCH] Correct documentation of setFastEvalLabels Change-Id: I32a6bbaad21f6c75eb5e8aef6fc650ddc395ddbf --- .../google/gerrit/server/project/SubmitRuleEvaluator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/project/SubmitRuleEvaluator.java b/gerrit-server/src/main/java/com/google/gerrit/server/project/SubmitRuleEvaluator.java index 384a9ae858..b0c521b17b 100644 --- a/gerrit-server/src/main/java/com/google/gerrit/server/project/SubmitRuleEvaluator.java +++ b/gerrit-server/src/main/java/com/google/gerrit/server/project/SubmitRuleEvaluator.java @@ -121,8 +121,9 @@ public class SubmitRuleEvaluator { } /** - * @param fast if true, infer label information from rules rather than reading - * from project config. + * @param fast if true assume reviewers are permitted to use label values + * currently stored on the change. Fast mode bypasses some reviewer + * permission checks. * @return this */ public SubmitRuleEvaluator setFastEvalLabels(boolean fast) {