diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2021-11-18 11:24:55 -0600 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-11-18 20:03:33 +0000 |
commit | 6c7dd4cd5b87af9b1057f725ee6b21b2e8feaa73 (patch) | |
tree | ed2bf72326ca78d86ce119ae48038b65707a5766 /server/sonar-webserver-core | |
parent | 6d3211296f8f7569de04626f5ffec647385cce4e (diff) | |
download | sonarqube-6c7dd4cd5b87af9b1057f725ee6b21b2e8feaa73.tar.gz sonarqube-6c7dd4cd5b87af9b1057f725ee6b21b2e8feaa73.zip |
SONAR-14315 Cannot paginate /api/project_tags/search
Diffstat (limited to 'server/sonar-webserver-core')
-rw-r--r-- | server/sonar-webserver-core/src/main/java/org/sonar/server/rule/RegisterRules.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-webserver-core/src/main/java/org/sonar/server/rule/RegisterRules.java b/server/sonar-webserver-core/src/main/java/org/sonar/server/rule/RegisterRules.java index bab17bc450c..3857596e28a 100644 --- a/server/sonar-webserver-core/src/main/java/org/sonar/server/rule/RegisterRules.java +++ b/server/sonar-webserver-core/src/main/java/org/sonar/server/rule/RegisterRules.java @@ -745,8 +745,7 @@ public class RegisterRules implements Startable { * The side effect of this approach is that extended repositories will not be managed the same way. * If an extended repository do not exists anymore, then related active rules will be removed. */ - private List<ActiveRuleChange> removeActiveRulesOnStillExistingRepositories(DbSession dbSession, RegisterRulesContext recorder, - List<RulesDefinition.Repository> context) { + private List<ActiveRuleChange> removeActiveRulesOnStillExistingRepositories(DbSession dbSession, RegisterRulesContext recorder, List<RulesDefinition.Repository> context) { List<String> repositoryKeys = context.stream() .map(RulesDefinition.ExtendedRepository::key) .collect(MoreCollectors.toList(context.size())); |