aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ce
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2018-07-05 18:26:06 +0200
committersonartech <sonartech@sonarsource.com>2018-07-09 10:39:33 +0200
commit7945610fd5eb08165568cbcdf74adb45e8b2fd83 (patch)
tree6cc0e832d4bce6e1fc76ec3b1018c7b2e2f27879 /server/sonar-ce
parentdeafa95ac4fe407e22e5ad56ecdbbb2e0105e24a (diff)
downloadsonarqube-7945610fd5eb08165568cbcdf74adb45e8b2fd83.tar.gz
sonarqube-7945610fd5eb08165568cbcdf74adb45e8b2fd83.zip
fix varargs and unchecked called warnings
Diffstat (limited to 'server/sonar-ce')
-rw-r--r--server/sonar-ce/src/main/java/org/sonar/ce/platform/ComputeEngineExtensionInstaller.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/platform/ComputeEngineExtensionInstaller.java b/server/sonar-ce/src/main/java/org/sonar/ce/platform/ComputeEngineExtensionInstaller.java
index 796960470e2..48114203aea 100644
--- a/server/sonar-ce/src/main/java/org/sonar/ce/platform/ComputeEngineExtensionInstaller.java
+++ b/server/sonar-ce/src/main/java/org/sonar/ce/platform/ComputeEngineExtensionInstaller.java
@@ -24,9 +24,11 @@ import org.sonar.api.ce.ComputeEngineSide;
import org.sonar.core.platform.PluginRepository;
import org.sonar.server.plugins.ServerExtensionInstaller;
+import static java.util.Collections.singleton;
+
public class ComputeEngineExtensionInstaller extends ServerExtensionInstaller {
public ComputeEngineExtensionInstaller(SonarRuntime sonarRuntime, PluginRepository pluginRepository) {
- super(sonarRuntime, pluginRepository, ComputeEngineSide.class);
+ super(sonarRuntime, pluginRepository, singleton(ComputeEngineSide.class));
}
}