diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2018-06-28 18:02:20 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2018-07-09 10:39:31 +0200 |
commit | b740a8f59662f43cfe6940bdd70d9a51bc65eea5 (patch) | |
tree | 1f1350430aaa04dcc62e5d637411ceaeaa6a26a4 /server/sonar-ce | |
parent | fe7dacaba03ebdb4e96db810939a802d207c162c (diff) | |
download | sonarqube-b740a8f59662f43cfe6940bdd70d9a51bc65eea5.tar.gz sonarqube-b740a8f59662f43cfe6940bdd70d9a51bc65eea5.zip |
remove useless classes from Compute Engine container
Diffstat (limited to 'server/sonar-ce')
-rw-r--r-- | server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java | 4 | ||||
-rw-r--r-- | server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java b/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java index d61004dcb4c..9cb493f261c 100644 --- a/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java +++ b/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java @@ -85,8 +85,6 @@ import org.sonar.db.purge.PurgeProfiler; import org.sonar.process.NetworkUtilsImpl; import org.sonar.process.Props; import org.sonar.process.logging.LogbackHelper; -import org.sonar.server.component.ComponentFinder; -import org.sonar.server.component.ComponentUpdater; import org.sonar.server.component.index.ComponentIndexer; import org.sonar.server.config.ConfigurationProvider; import org.sonar.server.debt.DebtModelPluginRepository; @@ -415,8 +413,6 @@ public class ComputeEngineContainerImpl implements ComputeEngineContainer { // components, FavoriteUpdater.class, ProjectIndexersImpl.class, - ComponentUpdater.class, - ComponentFinder.class, // used in ComponentService NewAlerts.class, NewAlerts.newMetadata(), ProjectMeasuresIndexer.class, diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java b/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java index ddeaafc1cdd..d78e240bb0c 100644 --- a/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java +++ b/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java @@ -96,7 +96,7 @@ public class ComputeEngineContainerImplTest { assertThat(picoContainer.getComponentAdapters()) .hasSize( CONTAINER_ITSELF - + 82 // level 4 + + 80 // level 4 + 21 // content of QualityGateModule + 6 // content of CeConfigurationModule + 4 // content of CeQueueModule |