AbandonIT: Fix java style, Javadocs should appear before any annotations

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I22aac736f6ca1b70a3c5167d2038fc8c300149d1
This commit is contained in:
Edwin Kempin
2019-12-05 08:58:34 +01:00
parent 531e94d81b
commit 2342590d94

View File

@@ -179,15 +179,15 @@ public class AbandonIT extends AbstractDaemonTest {
assertThat(toChangeNumbers(query("is:abandoned"))).containsExactly(id4);
}
/**
* When indexMergeable is disabled then the abandonIfMergeable option is ineffective and the auto
* abandon behaves as though it were set to its default value (true).
*/
@Test
@UseClockStep
@GerritConfig(name = "changeCleanup.abandonAfter", value = "1w")
@GerritConfig(name = "changeCleanup.abandonIfMergeable", value = "false")
@GerritConfig(name = "index.change.indexMergeable", value = "false")
/**
* When indexMergeable is disabled then the abandonIfMergeable option is ineffective and the auto
* abandon behaves as though it were set to its default value (true).
*/
public void abandonedIfMergeableWhenMergeableOperatorIsDisabled() throws Exception {
ObjectId initial = repo().exactRef(HEAD).getLeaf().getObjectId();