diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-02-29 16:09:06 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-03-01 14:27:28 +0100 |
commit | b9c2af22cfce4f3838153359b33fe56e6337279c (patch) | |
tree | f797840baa1960e1f0cf14cc7a5e6703823af776 | |
parent | 5601d7aa1d3f865cf739bf929cd3732f25ff0d99 (diff) | |
download | sonarqube-b9c2af22cfce4f3838153359b33fe56e6337279c.tar.gz sonarqube-b9c2af22cfce4f3838153359b33fe56e6337279c.zip |
SONAR-7330 WS api/rules/show drop unused parameters
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/rule/ws/ShowAction.java | 7 |
1 files changed, 1 insertions, 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; } |