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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user