From: Sébastien Lesaint Date: Thu, 23 May 2019 08:11:26 +0000 (+0200) Subject: fix quality flaw X-Git-Tag: 7.8~160 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d1849682671c69faf4618be7c786837239c7b3b4;p=sonarqube.git fix quality flaw --- diff --git a/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java b/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java index da2587ca9df..e11c377b809 100644 --- a/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java +++ b/sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java @@ -36,9 +36,9 @@ import org.picocontainer.MutablePicoContainer; import org.picocontainer.PicoContainer; import org.picocontainer.behaviors.OptInCaching; import org.picocontainer.monitors.NullComponentMonitor; -import org.sonar.api.scanner.ScannerSide; import org.sonar.api.ce.ComputeEngineSide; import org.sonar.api.config.PropertyDefinitions; +import org.sonar.api.scanner.ScannerSide; import org.sonar.api.server.ServerSide; import static com.google.common.collect.ImmutableList.copyOf; @@ -52,8 +52,8 @@ public class ComponentContainer implements ContainerPopulator.Container { public static final int COMPONENTS_IN_EMPTY_COMPONENT_CONTAINER = 2; private static final class ExtendedDefaultPicoContainer extends DefaultPicoContainer { - private ExtendedDefaultPicoContainer(ComponentFactory componentFactory, LifecycleStrategy lifecycleStrategy, PicoContainer parent, - ComponentMonitor componentMonitor) { + private ExtendedDefaultPicoContainer(ComponentFactory componentFactory, LifecycleStrategy lifecycleStrategy, + @Nullable PicoContainer parent, ComponentMonitor componentMonitor) { super(componentFactory, lifecycleStrategy, parent, componentMonitor); }