diff options
author | alain <108417558+alain-kermis-sonarsource@users.noreply.github.com> | 2022-07-26 09:28:40 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-07-26 20:03:42 +0000 |
commit | 57c90d02d6f0757b71e54ef26608deed14f5b9dc (patch) | |
tree | f4050693e8a4685b4b5efb42fbcd71cd53997942 /plugins/sonar-xoo-plugin | |
parent | 6ad373f011432b79d8fff3772146373017b7758b (diff) | |
download | sonarqube-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.java | 2 |
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"); |