aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorPierre <pierre.guillot@sonarsource.com>2022-07-08 14:20:28 +0200
committersonartech <sonartech@sonarsource.com>2022-07-08 20:02:47 +0000
commitbcf7cdd7569465198d9d0252b6aedcfc51c83474 (patch)
treef276aedb97a28c731fa8ca62bf70ad10f06a636a /plugins
parent184bc0a3836db2cc3fd7ec312b15663db42a4923 (diff)
downloadsonarqube-bcf7cdd7569465198d9d0252b6aedcfc51c83474.tar.gz
sonarqube-bcf7cdd7569465198d9d0252b6aedcfc51c83474.zip
Revert "SONAR-16598 Populate Generic concepts from sonar-plugin api"
This reverts commit 1d1feb6ab5dcf0d89f63ec0e1c67778f22da0978.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java3
1 files changed, 1 insertions, 2 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 51ad8f121e1..38ed2bad0bf 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
@@ -118,8 +118,7 @@ public class XooRulesDefinition implements RulesDefinition {
addHowToFixSectionsWithContexts(oneIssuePerLine);
oneIssuePerLine
.setDebtRemediationFunction(oneIssuePerLine.debtRemediationFunctions().linear("1min"))
- .setGapDescription("It takes about 1 minute to an experienced software craftsman to remove a line of code")
- .addGenericConceptKeys("defense_in_depth", "least_trust_principle");
+ .setGapDescription("It takes about 1 minute to an experienced software craftsman to remove a line of code");
NewRule oneQuickFixPerLine = repo.createRule(OneQuickFixPerLineSensor.RULE_KEY).setName("One Quick Fix Per Line")
.setTags("line");