Bind PluginUser.Factory in PluginModule
This factory is required by some plugin classes, and only used when plugins are loaded. It makes more sense to bundle it in PluginModule, where the other Plugin-related classes are bound Change-Id: If7f8c086356e403ea06c9a218140be6fa3b60df8
This commit is contained in:
@@ -76,7 +76,6 @@ import com.google.gerrit.server.ChangeFinder;
|
||||
import com.google.gerrit.server.CmdLineParserModule;
|
||||
import com.google.gerrit.server.CreateGroupPermissionSyncer;
|
||||
import com.google.gerrit.server.IdentifiedUser;
|
||||
import com.google.gerrit.server.PluginUser;
|
||||
import com.google.gerrit.server.Sequences;
|
||||
import com.google.gerrit.server.account.AccountCacheImpl;
|
||||
import com.google.gerrit.server.account.AccountControl;
|
||||
@@ -262,7 +261,6 @@ public class GerritGlobalModule extends FactoryModule {
|
||||
factory(MergedSender.Factory.class);
|
||||
factory(MergeUtil.Factory.class);
|
||||
factory(PatchScriptFactory.Factory.class);
|
||||
factory(PluginUser.Factory.class);
|
||||
factory(ProjectState.Factory.class);
|
||||
factory(RegisterNewEmailSender.Factory.class);
|
||||
factory(ReplacePatchSetSender.Factory.class);
|
||||
|
Reference in New Issue
Block a user