Remove unnecessary calls to SubmitRuleEvaluator#setPatchSet

This defaults to currentPatchSet() from the passed in ChangeData.

Change-Id: I328aa1897631177a10d48bd0a330636e6079e19f
This commit is contained in:
Dave Borowitz
2015-12-17 13:51:59 -05:00
parent 501db24756
commit 9c259f32a7
3 changed files with 4 additions and 5 deletions

View File

@@ -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()) {