]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3497 The repository name should be "Common Sonar"
authorFabrice Bellingard <bellingard@gmail.com>
Fri, 6 Jul 2012 09:19:37 +0000 (11:19 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Fri, 6 Jul 2012 09:21:55 +0000 (11:21 +0200)
=> It should not depend on the language name

plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaCommonRulesEngineProvider.java

index 4759a573ba111aa803a058d1fe9bf539b2660c85..e72d78ec3ae63e2db1b0174f42acd02103d716a4 100644 (file)
@@ -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");