From a03a470e4305ef4ed838192453bf9b4f41778dd2 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Tue, 26 Mar 2019 17:16:58 +0100 Subject: Remove no more used org.sonar.core.timemachine.Periods class --- .../main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java | 2 -- .../java/org/sonar/ce/container/ComputeEngineContainerImplTest.java | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'server/sonar-ce') 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 -- cgit v1.2.3