Merge branch 'stable-3.3' into stable-3.4

* stable-3.3:
  Don't call 'review' with empty ReviewInput

Change-Id: I9b1a0a7444f504f1b2e24c17ab18642b59a7e2e0
diff --git a/src/main/java/com/googlesource/gerrit/plugins/reviewers/AddReviewers.java b/src/main/java/com/googlesource/gerrit/plugins/reviewers/AddReviewers.java
index 43db627..80fab28 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/reviewers/AddReviewers.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/reviewers/AddReviewers.java
@@ -88,6 +88,9 @@
               .filter(c -> !existingReviewers.contains(c))
               .filter(r -> !reviewersToAdd.contains(r))
               .collect(Collectors.toSet());
+      if (reviewersToAdd.isEmpty() && ccsToAdd.isEmpty()) {
+        return;
+      }
 
       ReviewInput in = new ReviewInput();
       in.reviewers = new ArrayList<>(reviewers.size() + ccs.size());