Merge "Fix: Guice creation error in Reindex"

This commit is contained in:
Dave Borowitz
2014-04-15 12:14:04 +00:00
committed by Gerrit Code Review

View File

@@ -219,6 +219,7 @@ public class Reindex extends SiteProgram {
install(GroupIncludeCacheImpl.module());
install(ProjectCacheImpl.module());
install(SectionSortCache.module());
install(ChangeKindCacheImpl.module());
factory(CapabilityControl.Factory.class);
factory(ChangeData.Factory.class);
factory(ProjectState.Factory.class);
@@ -297,9 +298,6 @@ public class Reindex extends SiteProgram {
DynamicSet.setOf(binder(), GitReferenceUpdatedListener.class);
DynamicSet.setOf(binder(), CommitValidationListener.class);
factory(CommitValidators.Factory.class);
install(ChangeKindCacheImpl.module());
install(new GitModule());
install(new NoteDbModule());
}