Fix EventListener hook
We are only allowed to call DynamicSet.bind *after* DynamicSet.setOf. Change-Id: Icff501c2fd5ac9696467d378d81ecd67f39dc0f3
This commit is contained in:
parent
437e46ea7d
commit
e3c8bb9b86
@ -277,8 +277,8 @@ public class GerritGlobalModule extends FactoryModule {
|
||||
DynamicSet.bind(binder(), GitReferenceUpdatedListener.class).to(ReindexAfterUpdate.class);
|
||||
DynamicSet.bind(binder(), GitReferenceUpdatedListener.class)
|
||||
.to(ProjectConfigEntry.UpdateChecker.class);
|
||||
DynamicSet.bind(binder(), EventListener.class).to(EventsMetrics.class);
|
||||
DynamicSet.setOf(binder(), EventListener.class);
|
||||
DynamicSet.bind(binder(), EventListener.class).to(EventsMetrics.class);
|
||||
DynamicSet.setOf(binder(), CommitValidationListener.class);
|
||||
DynamicSet.setOf(binder(), RefOperationValidationListener.class);
|
||||
DynamicSet.setOf(binder(), MergeValidationListener.class);
|
||||
|
Loading…
Reference in New Issue
Block a user