From: Simon Brandhof Date: Fri, 8 Jun 2012 12:15:53 +0000 (+0200) Subject: Fix description of property "sonar.cpd_cross_project" X-Git-Tag: 3.1~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=226856568ff59208e3b008aecaf108c583cce37b;p=sonarqube.git Fix description of property "sonar.cpd_cross_project" --- diff --git a/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/CpdPlugin.java b/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/CpdPlugin.java index 5530aa750f2..d911beb4399 100644 --- a/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/CpdPlugin.java +++ b/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/CpdPlugin.java @@ -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> 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); } }