aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-xoo-plugin
diff options
context:
space:
mode:
authoralain <108417558+alain-kermis-sonarsource@users.noreply.github.com>2022-07-26 09:28:40 +0200
committersonartech <sonartech@sonarsource.com>2022-07-26 20:03:42 +0000
commit57c90d02d6f0757b71e54ef26608deed14f5b9dc (patch)
treef4050693e8a4685b4b5efb42fbcd71cd53997942 /plugins/sonar-xoo-plugin
parent6ad373f011432b79d8fff3772146373017b7758b (diff)
downloadsonarqube-57c90d02d6f0757b71e54ef26608deed14f5b9dc.tar.gz
sonarqube-57c90d02d6f0757b71e54ef26608deed14f5b9dc.zip
SONAR-16598 Rename education principle keys in plugins
Diffstat (limited to 'plugins/sonar-xoo-plugin')
-rw-r--r--plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/rule/XooRulesDefinition.java2
1 files changed, 1 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 8da47aa22f5..964aceba411 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
@@ -120,7 +120,7 @@ public class XooRulesDefinition implements RulesDefinition {
oneIssuePerLine
.setDebtRemediationFunction(oneIssuePerLine.debtRemediationFunctions().linear("1min"))
.setGapDescription("It takes about 1 minute to an experienced software craftsman to remove a line of code")
- .addEducationPrincipleKeys("defense_in_depth", "least_trust_principle");
+ .addEducationPrincipleKeys("defense_in_depth", "never_trust_user_input");
NewRule oneQuickFixPerLine = repo.createRule(OneQuickFixPerLineSensor.RULE_KEY).setName("One Quick Fix Per Line")
.setTags("line");