From b9c2af22cfce4f3838153359b33fe56e6337279c Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Mon, 29 Feb 2016 16:09:06 +0100 Subject: SONAR-7330 WS api/rules/show drop unused parameters --- .../src/main/java/org/sonar/server/rule/ws/ShowAction.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/rule/ws/ShowAction.java b/server/sonar-server/src/main/java/org/sonar/server/rule/ws/ShowAction.java index e07daf9cad4..8adc0e03502 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/rule/ws/ShowAction.java +++ b/server/sonar-server/src/main/java/org/sonar/server/rule/ws/ShowAction.java @@ -32,7 +32,6 @@ import org.sonar.db.DbClient; import org.sonar.db.DbSession; import org.sonar.db.rule.RuleDto; import org.sonar.db.rule.RuleParamDto; -import org.sonar.server.rule.RuleService; import org.sonarqube.ws.Rules.ShowResponse; import static java.util.Collections.singletonList; @@ -48,15 +47,11 @@ public class ShowAction implements RulesWsAction { public static final String PARAM_ACTIVES = "actives"; private final DbClient dbClient; - private final RuleService service; - private final RuleMapping mapping; private final RuleMapper mapper; private final ActiveRuleCompleter activeRuleCompleter; - public ShowAction(DbClient dbClient, RuleService service, RuleMapping mapping, RuleMapper mapper, ActiveRuleCompleter activeRuleCompleter) { + public ShowAction(DbClient dbClient, RuleMapper mapper, ActiveRuleCompleter activeRuleCompleter) { this.dbClient = dbClient; - this.service = service; - this.mapping = mapping; this.activeRuleCompleter = activeRuleCompleter; this.mapper = mapper; } -- cgit v1.2.3