diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-05-23 02:20:55 +0600 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-05-24 13:33:44 +0600 |
commit | 764537e903cef07f68b0a0d97e6b925e19363170 (patch) | |
tree | b03c4e78a3bfe1eadaf56e28c6a023f5bfbfec16 /plugins/sonar-cpd-plugin | |
parent | 264efca66065be97933f1085885168dea3d3c727 (diff) | |
download | sonarqube-764537e903cef07f68b0a0d97e6b925e19363170.tar.gz sonarqube-764537e903cef07f68b0a0d97e6b925e19363170.zip |
SONAR-3182 Remove properties related to PMD CPD
Diffstat (limited to 'plugins/sonar-cpd-plugin')
-rw-r--r-- | plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/CpdPlugin.java | 48 |
1 files changed, 0 insertions, 48 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 ccbe4936d82..5530aa750f2 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 @@ -29,20 +29,6 @@ import java.util.List; @Properties({ @Property( - key = CoreProperties.CPD_ENGINE, - defaultValue = CoreProperties.CPD_ENGINE_DEFAULT_VALUE, - name = "Copy&Paste detection engine", - description = "Sonar embeds its own CPD engine since Sonar 2.11, but it's still possible to use the old PMD CPD engine (value 'pmd')." + - " Some Sonar users might want to keep on working with PMD CPD engine for instance to prevent any impact on measures during an upgrade of Sonar." + - " Moreover this Sonar CPD engine is not supported by all Sonar language plugins and when this support is not available," + - " the PMD CPD engine is automatically selected.", - project = true, - module = true, - global = true, - category = CoreProperties.CATEGORY_DUPLICATIONS, - type = PropertyType.SINGLE_SELECT_LIST, - options = {"sonar", "pmd"}), - @Property( key = CoreProperties.CPD_CROSS_RPOJECT, defaultValue = CoreProperties.CPD_CROSS_RPOJECT_DEFAULT_VALUE + "", name = "Cross project duplicaton detection", @@ -53,40 +39,6 @@ import java.util.List; module = true, global = true, category = CoreProperties.CATEGORY_DUPLICATIONS, - type = PropertyType.BOOLEAN), - @Property( - key = CoreProperties.CPD_MINIMUM_TOKENS_PROPERTY, - defaultValue = CoreProperties.CPD_MINIMUM_TOKENS_DEFAULT_VALUE + "", - name = "Minimum tokens", - description = "Deprecated property used only by the PMD CPD engine." + - " The number of duplicate tokens above which a block is considered as a duplication.", - project = true, - module = true, - global = true, - category = CoreProperties.CATEGORY_DUPLICATIONS, - type = PropertyType.INTEGER), - @Property( - key = CoreProperties.CPD_IGNORE_LITERALS_PROPERTY, - defaultValue = CoreProperties.CPD_IGNORE_LITERALS_DEFAULT_VALUE + "", - name = "Ignore literals", - description = "Deprecated property used only by the PMD CPD engine." + - " If true, PMD-CPD ignores literal value differences when evaluating a duplicate block." + - " This means that foo=\"first string\"; and foo=\"second string\"; will be seen as equivalent.", - project = true, - module = true, - global = true, - category = CoreProperties.CATEGORY_DUPLICATIONS, - type = PropertyType.BOOLEAN), - @Property( - key = CoreProperties.CPD_IGNORE_IDENTIFIERS_PROPERTY, - defaultValue = CoreProperties.CPD_IGNORE_IDENTIFIERS_DEFAULT_VALUE + "", - name = "Ignore identifiers", - description = "Deprecated property used only by the PMD CPD engine." + - " Similar to 'Ignore literals' but for identifiers; i.e., variable names, methods names, and so forth.", - project = true, - module = true, - global = true, - category = CoreProperties.CATEGORY_DUPLICATIONS, type = PropertyType.BOOLEAN) }) public final class CpdPlugin extends SonarPlugin { |