From a6b6e5c63e691ef5ad3105855c01cd1be47e4a82 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 8 Jun 2012 14:15:53 +0200 Subject: [PATCH] Fix description of property "sonar.cpd_cross_project" --- .../java/org/sonar/plugins/cpd/CpdPlugin.java | 20 +++++++++---------- 1 file 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> 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); } } -- 2.39.5