aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-core/src
diff options
context:
space:
mode:
authorMatteo Mara <matteo.mara@sonarsource.com>2022-11-25 16:14:14 +0100
committersonartech <sonartech@sonarsource.com>2022-12-06 20:02:53 +0000
commit7cbc1b9bdaf97cab2f194895071ac1129f55f27c (patch)
tree0ce0a999b7557ae00f546ae279a1412639f7f89e /server/sonar-webserver-core/src
parent09e15e5451251ab6e4a1e13f07c200af3d0ee7f2 (diff)
downloadsonarqube-7cbc1b9bdaf97cab2f194895071ac1129f55f27c.tar.gz
sonarqube-7cbc1b9bdaf97cab2f194895071ac1129f55f27c.zip
SONAR-17678 remove usage of pack200
Diffstat (limited to 'server/sonar-webserver-core/src')
-rw-r--r--server/sonar-webserver-core/src/test/java/org/sonar/server/startup/GeneratePluginIndexTest.java2
-rw-r--r--server/sonar-webserver-core/src/test/java/org/sonar/server/startup/RegisterPluginsTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-webserver-core/src/test/java/org/sonar/server/startup/GeneratePluginIndexTest.java b/server/sonar-webserver-core/src/test/java/org/sonar/server/startup/GeneratePluginIndexTest.java
index 3ee07bdac88..2b81fcdb5a7 100644
--- a/server/sonar-webserver-core/src/test/java/org/sonar/server/startup/GeneratePluginIndexTest.java
+++ b/server/sonar-webserver-core/src/test/java/org/sonar/server/startup/GeneratePluginIndexTest.java
@@ -86,6 +86,6 @@ public class GeneratePluginIndexTest {
private ServerPlugin newInstalledPlugin(String key, boolean supportSonarLint) throws IOException {
FileAndMd5 jar = new FileAndMd5(temp.newFile());
PluginInfo pluginInfo = new PluginInfo(key).setJarFile(jar.getFile()).setSonarLintSupported(supportSonarLint);
- return new ServerPlugin(pluginInfo, BUNDLED, null, jar, null, null);
+ return new ServerPlugin(pluginInfo, BUNDLED, null, jar, null);
}
}
diff --git a/server/sonar-webserver-core/src/test/java/org/sonar/server/startup/RegisterPluginsTest.java b/server/sonar-webserver-core/src/test/java/org/sonar/server/startup/RegisterPluginsTest.java
index 138453f914b..39446aca905 100644
--- a/server/sonar-webserver-core/src/test/java/org/sonar/server/startup/RegisterPluginsTest.java
+++ b/server/sonar-webserver-core/src/test/java/org/sonar/server/startup/RegisterPluginsTest.java
@@ -210,7 +210,7 @@ public class RegisterPluginsTest {
PluginInfo info = new PluginInfo(key)
.setBasePlugin(basePlugin)
.setJarFile(file);
- ServerPlugin serverPlugin = new ServerPlugin(info, type, null, jar, null, null);
+ ServerPlugin serverPlugin = new ServerPlugin(info, type, null, jar, null);
serverPluginRepository.addPlugin(serverPlugin);
return serverPlugin;
}