Merge changes I68ee52d4,I2d6f183e

* changes:
  Remove RemoveFromAttentionSetInput
  Review without changing the attention set
This commit is contained in:
Gal Paikin
2020-06-26 13:45:45 +00:00
committed by Gerrit Code Review
11 changed files with 181 additions and 60 deletions

View File

@@ -17,7 +17,7 @@ package com.google.gerrit.server.api.changes;
import static com.google.gerrit.server.api.ApiUtil.asRestApiException;
import com.google.gerrit.extensions.api.changes.AttentionSetApi;
import com.google.gerrit.extensions.api.changes.RemoveFromAttentionSetInput;
import com.google.gerrit.extensions.api.changes.AttentionSetInput;
import com.google.gerrit.extensions.restapi.RestApiException;
import com.google.gerrit.server.change.AttentionSetEntryResource;
import com.google.gerrit.server.restapi.change.RemoveFromAttentionSet;
@@ -41,7 +41,7 @@ public class AttentionSetApiImpl implements AttentionSetApi {
}
@Override
public void remove(RemoveFromAttentionSetInput input) throws RestApiException {
public void remove(AttentionSetInput input) throws RestApiException {
try {
removeFromAttentionSet.apply(attentionSetEntryResource, input);
} catch (Exception e) {