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
This commit is contained in:
David Pursehouse 2018-11-17 09:54:34 -08:00
parent d8ce32e7e1
commit c060c01d15

View File

@ -35,8 +35,8 @@ import java.util.List;
@Singleton
public class FakeGroupAuditService implements GroupAuditService {
private final PluginSetContext<GroupAuditListener> groupAuditListeners;
private final PluginSetContext<AuditListener> auditListeners;
protected final PluginSetContext<GroupAuditListener> groupAuditListeners;
protected final PluginSetContext<AuditListener> auditListeners;
public static class Module extends AbstractModule {
@Override