From c060c01d153832447032d506a9c91eb3a17fb6ad Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Sat, 17 Nov 2018 09:54:34 -0800 Subject: [PATCH] FakeGroupAuditService: Make audit listener members protected The auditListeners is not used in this class, but is needed when running tests on plugins that use audit events. As a workaround to stop Eclipse complaining about it being unused, change its visibility to protected. Also change the other one to keep it consistent. Change-Id: I5769926f4a19079e2f7cd03ca25f6152e1def063 --- java/com/google/gerrit/testing/FakeGroupAuditService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/com/google/gerrit/testing/FakeGroupAuditService.java b/java/com/google/gerrit/testing/FakeGroupAuditService.java index 7c6674b4c6..f2e85cdfe8 100644 --- a/java/com/google/gerrit/testing/FakeGroupAuditService.java +++ b/java/com/google/gerrit/testing/FakeGroupAuditService.java @@ -35,8 +35,8 @@ import java.util.List; @Singleton public class FakeGroupAuditService implements GroupAuditService { - private final PluginSetContext groupAuditListeners; - private final PluginSetContext auditListeners; + protected final PluginSetContext groupAuditListeners; + protected final PluginSetContext auditListeners; public static class Module extends AbstractModule { @Override