aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-api/src
diff options
context:
space:
mode:
authorMatteo Mara <matteo.mara@sonarsource.com>2023-01-11 14:26:26 +0100
committersonartech <sonartech@sonarsource.com>2023-01-12 20:02:51 +0000
commit4dc57b2e3f3c8a30c7ffa1da6751e7bfae2d1d46 (patch)
tree897b2cbb9c504be88ec412d102d0f641247ce042 /server/sonar-webserver-api/src
parent44c39cc1617233606191e312682a26bd2dd01b46 (diff)
downloadsonarqube-4dc57b2e3f3c8a30c7ffa1da6751e7bfae2d1d46.tar.gz
sonarqube-4dc57b2e3f3c8a30c7ffa1da6751e7bfae2d1d46.zip
[NO-JIRA] Remove reported generic code smell
Diffstat (limited to 'server/sonar-webserver-api/src')
-rw-r--r--server/sonar-webserver-api/src/main/java/org/sonar/server/plugins/ServerPluginRepository.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-webserver-api/src/main/java/org/sonar/server/plugins/ServerPluginRepository.java b/server/sonar-webserver-api/src/main/java/org/sonar/server/plugins/ServerPluginRepository.java
index 4a03dd19e76..224fb50edc5 100644
--- a/server/sonar-webserver-api/src/main/java/org/sonar/server/plugins/ServerPluginRepository.java
+++ b/server/sonar-webserver-api/src/main/java/org/sonar/server/plugins/ServerPluginRepository.java
@@ -61,7 +61,7 @@ public class ServerPluginRepository implements PluginRepository {
@Override
public Collection<PluginInfo> getPluginInfos() {
- return pluginByKey.values().stream().map(ServerPlugin::getPluginInfo).collect(Collectors.toUnmodifiableList());
+ return pluginByKey.values().stream().map(ServerPlugin::getPluginInfo).toList();
}
@Override