diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-06-08 14:15:53 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-06-08 14:17:03 +0200 |
commit | a6b6e5c63e691ef5ad3105855c01cd1be47e4a82 (patch) | |
tree | e4cc063ab04c18861363274b15c04d4367889faa /plugins/sonar-cpd-plugin | |
parent | a600096b591625d50ed1af97499dabb53d097309 (diff) | |
download | sonarqube-a6b6e5c63e691ef5ad3105855c01cd1be47e4a82.tar.gz sonarqube-a6b6e5c63e691ef5ad3105855c01cd1be47e4a82.zip |
Fix description of property "sonar.cpd_cross_project"
Diffstat (limited to 'plugins/sonar-cpd-plugin')
-rw-r--r-- | plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/CpdPlugin.java | 20 |
1 files changed, 9 insertions, 11 deletions
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<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); } } |