ChangeQueryProcessor: Use ChangeIsVisibleToPredicate.Factory
Change-Id: I5bcca0d9b6fddcb710c2467bc857931e3a5cb69e
This commit is contained in:

committed by
David Pursehouse

parent
91c3b647c7
commit
d7e39650dd
@@ -74,6 +74,7 @@ import com.google.gerrit.server.project.ProjectCacheImpl;
|
||||
import com.google.gerrit.server.project.ProjectState;
|
||||
import com.google.gerrit.server.project.SubmitRuleEvaluator;
|
||||
import com.google.gerrit.server.query.change.ChangeData;
|
||||
import com.google.gerrit.server.query.change.ChangeIsVisibleToPredicate;
|
||||
import com.google.gerrit.server.restapi.group.GroupModule;
|
||||
import com.google.gerrit.server.rules.DefaultSubmitRule;
|
||||
import com.google.gerrit.server.rules.IgnoreSelfApprovalRule;
|
||||
@@ -164,6 +165,7 @@ public class BatchProgramModule extends FactoryModule {
|
||||
install(PureRevertCache.module());
|
||||
factory(CapabilityCollection.Factory.class);
|
||||
factory(ChangeData.AssistedFactory.class);
|
||||
factory(ChangeIsVisibleToPredicate.Factory.class);
|
||||
factory(ProjectState.Factory.class);
|
||||
|
||||
// Submit rules
|
||||
|
Reference in New Issue
Block a user