aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ce
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2019-03-26 17:16:58 +0100
committerSonarTech <sonartech@sonarsource.com>2019-03-27 20:21:04 +0100
commita03a470e4305ef4ed838192453bf9b4f41778dd2 (patch)
treed9a6da6a40bb119012fbb1af76ac201930661d53 /server/sonar-ce
parenta2eef28e11d076d79dce4b211f24e8d8334c593a (diff)
downloadsonarqube-a03a470e4305ef4ed838192453bf9b4f41778dd2.tar.gz
sonarqube-a03a470e4305ef4ed838192453bf9b4f41778dd2.zip
Remove no more used org.sonar.core.timemachine.Periods class
Diffstat (limited to 'server/sonar-ce')
-rw-r--r--server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java2
-rw-r--r--server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java2
2 files changed, 1 insertions, 3 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 96757cc6f29..341b5599bde 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
@@ -77,7 +77,6 @@ import org.sonar.core.platform.Module;
import org.sonar.core.platform.PlatformEditionProvider;
import org.sonar.core.platform.PluginClassloaderFactory;
import org.sonar.core.platform.PluginLoader;
-import org.sonar.core.timemachine.Periods;
import org.sonar.core.util.UuidFactoryImpl;
import org.sonar.db.DBSessionsImpl;
import org.sonar.db.DaoModule;
@@ -355,7 +354,6 @@ public class ComputeEngineContainerImpl implements ComputeEngineContainer {
container.add(
ResourceTypes.class,
DefaultResourceTypes.get(),
- Periods.class,
BillingValidationsProxyImpl.class,
// quality profile
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 eda18edae0b..023ed44a9ee 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
@@ -97,7 +97,7 @@ public class ComputeEngineContainerImplTest {
assertThat(picoContainer.getComponentAdapters())
.hasSize(
CONTAINER_ITSELF
- + 69 // level 4
+ + 68 // level 4
+ 6 // content of CeConfigurationModule
+ 4 // content of CeQueueModule
+ 3 // content of CeHttpModule