commit | 51f09a30772b5b1a48208f38e237f9f764951561 | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Wed Jul 10 18:42:44 2013 +0900 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Thu Jul 11 09:44:58 2013 +0900 |
tree | 8086360bc68ae268962259a83024dcf470032fd8 | |
parent | cbaa90875abd15fedba74cffd627339f06430495 [diff] |
Refactor ChangeInserter's setDraft to match PatchSetInserter's The `setDraft` method in ChangeInserter can only set the status to draft; it cannot toggle it. Change it to be able to toggle the status between draft and new, making it consistent with the way the method of the same name works in PatchSetInserter. Change-Id: Iead2e62701c6b5c90a33efcda35b2e144fd67ccf