From: Fabrice Bellingard Date: Fri, 6 Jul 2012 09:19:37 +0000 (+0200) Subject: SONAR-3497 The repository name should be "Common Sonar" X-Git-Tag: 3.2~212 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ea6551ac09eb5a4361db587fc7f7cac0be28dbc3;p=sonarqube.git SONAR-3497 The repository name should be "Common Sonar" => It should not depend on the language name --- diff --git a/plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaCommonRulesEngineProvider.java b/plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaCommonRulesEngineProvider.java index 4759a573ba1..e72d78ec3ae 100644 --- a/plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaCommonRulesEngineProvider.java +++ b/plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaCommonRulesEngineProvider.java @@ -31,7 +31,7 @@ public class JavaCommonRulesEngineProvider extends ExtensionProvider implements @Override public List provide() { - CommonRulesEngine engine = new CommonRulesEngine(Java.KEY, Java.NAME); + CommonRulesEngine engine = new CommonRulesEngine(Java.KEY); engine.activateRule("InsufficientBranchCoverage"); engine.activateRule("InsufficientCommentDensity"); engine.activateRule("DuplicatedBlocks");