diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2020-07-07 10:09:34 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-07-09 20:05:35 +0000 |
commit | 191fde8d2cfc1a69b4e981b67e4e0bdbb33bba7c (patch) | |
tree | a8ac75655809b537b42672ca7b2c7ecbc92e17d5 /plugins/sonar-xoo-plugin | |
parent | 3adb1969a53fb22066453c36fe9d0acb6902d343 (diff) | |
download | sonarqube-191fde8d2cfc1a69b4e981b67e4e0bdbb33bba7c.tar.gz sonarqube-191fde8d2cfc1a69b4e981b67e4e0bdbb33bba7c.zip |
SONAR-13591 Fix copy of issue tags from rule tags
Diffstat (limited to 'plugins/sonar-xoo-plugin')
-rw-r--r-- | plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java index ebac3901e19..6d91f1d758c 100644 --- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java +++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java @@ -97,7 +97,8 @@ public class XooRulesDefinition implements RulesDefinition { ruleWithParameters.createParam("float").setType(RuleParamType.FLOAT); NewRule oneIssuePerLine = repo.createRule(OneIssuePerLineSensor.RULE_KEY).setName("One Issue Per Line") - .setHtmlDescription("Generate an issue on each line of a file. It requires the metric \"lines\"."); + .setHtmlDescription("Generate an issue on each line of a file. It requires the metric \"lines\".") + .setTags("line"); oneIssuePerLine .setDebtRemediationFunction(oneIssuePerLine.debtRemediationFunctions().linear("1min")) .setGapDescription("It takes about 1 minute to an experienced software craftsman to remove a line of code"); |