Make class DraftChangeIT.MarkChangeAsDraftUpdateOp static

Otherwise ErrorProne complains saying that the inner class is
non-static but does not reference the enclosing class.

Change-Id: I31c9558a1c6ee530dccb45b16d165ed466904665
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2017-03-15 10:46:27 +01:00
parent 38f8ef42fe
commit 5f95933282

View File

@@ -277,7 +277,7 @@ public class DraftChangeIT extends AbstractDaemonTest {
return revisionInfos.stream().map(revisionInfo -> revisionInfo.draft).collect(toList());
}
private class MarkChangeAsDraftUpdateOp implements BatchUpdateOp {
private static class MarkChangeAsDraftUpdateOp implements BatchUpdateOp {
@Override
public boolean updateChange(ChangeContext ctx) throws Exception {
Change change = ctx.getChange();