]> source.dussan.org Git - sonarqube.git/commitdiff
Fix description of property "sonar.cpd_cross_project"
authorSimon Brandhof <simon.brandhof@gmail.com>
Fri, 8 Jun 2012 12:15:53 +0000 (14:15 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Fri, 8 Jun 2012 12:17:03 +0000 (14:17 +0200)
plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/CpdPlugin.java

index 5530aa750f274100c4398fa3d128de155d3df9f6..d911beb4399e5bd0860b095aaa10271825e48ce4 100644 (file)
@@ -31,10 +31,8 @@ import java.util.List;
   @Property(
     key = CoreProperties.CPD_CROSS_RPOJECT,
     defaultValue = CoreProperties.CPD_CROSS_RPOJECT_DEFAULT_VALUE + "",
-    name = "Cross project duplicaton detection",
-    description = "Sonar supports the detection of cross project duplications." +
-      " Activating this property will slightly increase each Sonar analysis time." +
-      " This mode can't be used along with the PMD CPD engine.",
+    name = "Cross project duplication detection",
+    description = "Sonar supports the detection of cross project duplications. Activating this property will slightly increase each Sonar analysis time.",
     project = true,
     module = true,
     global = true,
@@ -43,14 +41,14 @@ import java.util.List;
 })
 public final class CpdPlugin extends SonarPlugin {
 
-  public List<Class<? extends BatchExtension>> getExtensions() {
+  public List getExtensions() {
     return ImmutableList.of(
-        CpdSensor.class,
-        SumDuplicationsDecorator.class,
-        DuplicationDensityDecorator.class,
-        IndexFactory.class,
-        SonarEngine.class,
-        SonarBridgeEngine.class);
+      CpdSensor.class,
+      SumDuplicationsDecorator.class,
+      DuplicationDensityDecorator.class,
+      IndexFactory.class,
+      SonarEngine.class,
+      SonarBridgeEngine.class);
   }
 
 }