Remove unnecessary calls to SubmitRuleEvaluator#setPatchSet
This defaults to currentPatchSet() from the passed in ChangeData. Change-Id: I328aa1897631177a10d48bd0a330636e6079e19f
This commit is contained in:
@@ -110,7 +110,6 @@ public class ReviewerJson {
|
||||
PatchSet ps = cd.currentPatchSet();
|
||||
if (ps != null) {
|
||||
for (SubmitRecord rec : new SubmitRuleEvaluator(cd)
|
||||
.setPatchSet(ps)
|
||||
.setFastEvalLabels(true)
|
||||
.setAllowDraft(true)
|
||||
.evaluate()) {
|
||||
|
Reference in New Issue
Block a user