SubmitInput: Remove deprecated waitForMerge field

The waitForMerge field was deprecated in Gerrit 2.12, is not
used any more. Remove it.

Update the documentation to mention the on_behalf_of field in
the SubmitInput, instead of wait_for_merge.

Change-Id: I6de626312ca03654a37b52553202f2af9dfbf787
This commit is contained in:
David Pursehouse
2016-03-10 15:27:47 +09:00
parent 4ea3568ff3
commit a8f48f85cf
4 changed files with 3 additions and 26 deletions

View File

@@ -118,10 +118,8 @@ public class Submit implements RestModifyView<RevisionResource, SubmitInput>,
public static class TestSubmitInput extends SubmitInput {
public final boolean failAfterRefUpdates;
@SuppressWarnings("deprecation")
public TestSubmitInput(SubmitInput base, boolean failAfterRefUpdates) {
this.onBehalfOf = base.onBehalfOf;
this.waitForMerge = base.waitForMerge;
this.failAfterRefUpdates = failAfterRefUpdates;
}
}