aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorPierre <pierre.guillot@sonarsource.com>2022-07-08 16:28:19 +0200
committersonartech <sonartech@sonarsource.com>2022-07-12 14:30:04 +0000
commit201d5326c5e4471a1a77243cd2bd4ac71c9d4ada (patch)
tree59f2e3c3d101f2c2eec3c09eb55c3fd885b071f8 /plugins
parentb7337e90fe3a896367ec2f4dda1684e0a2b177a8 (diff)
downloadsonarqube-201d5326c5e4471a1a77243cd2bd4ac71c9d4ada.tar.gz
sonarqube-201d5326c5e4471a1a77243cd2bd4ac71c9d4ada.zip
SONAR-16598 Rename generic concept to education principles
Diffstat (limited to 'plugins')
-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 17860487d38..24547887632 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")
- .addGenericConceptKeys("defense_in_depth", "least_trust_principle");
+ .addEducationPrincipleKeys("defense_in_depth", "least_trust_principle");
NewRule oneQuickFixPerLine = repo.createRule(OneQuickFixPerLineSensor.RULE_KEY).setName("One Quick Fix Per Line")
.setTags("line");