Submit: Add @UsedAt to public mergeChange method
This method is used at Google and should not be removed/inlined. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Ic55a61cccdbecbf115b5c87a09eac63cd4dbfadd
This commit is contained in:
@@ -23,6 +23,7 @@ import com.google.common.collect.ImmutableMap;
|
||||
import com.google.common.collect.ListMultimap;
|
||||
import com.google.common.collect.Sets;
|
||||
import com.google.common.flogger.FluentLogger;
|
||||
import com.google.gerrit.common.UsedAt;
|
||||
import com.google.gerrit.common.data.ParameterizedString;
|
||||
import com.google.gerrit.exceptions.StorageException;
|
||||
import com.google.gerrit.extensions.api.changes.SubmitInput;
|
||||
@@ -185,6 +186,7 @@ public class Submit
|
||||
return Response.ok(new Output(mergeChange(rsrc, submitter, input)));
|
||||
}
|
||||
|
||||
@UsedAt(UsedAt.Project.GOOGLE)
|
||||
public Change mergeChange(RevisionResource rsrc, IdentifiedUser submitter, SubmitInput input)
|
||||
throws RestApiException, IOException, UpdateException, ConfigInvalidException,
|
||||
PermissionBackendException {
|
||||
|
Reference in New Issue
Block a user