diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2013-09-11 17:04:05 +0200 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2013-09-12 09:21:32 +0200 |
commit | 2e8c5764557af60a6b340823bc960513361775cc (patch) | |
tree | 8c4d76b4d0ff2c0a4bac8ef64a72df4ab3cc99b0 /plugins/sonar-cpd-plugin | |
parent | 97751ca5c3b70d779fa642f87e8953841028f657 (diff) | |
download | sonarqube-2e8c5764557af60a6b340823bc960513361775cc.tar.gz sonarqube-2e8c5764557af60a6b340823bc960513361775cc.zip |
SONAR-4655 Move CPD exclusions settings to dedicated subcategory of Exclusions
Diffstat (limited to 'plugins/sonar-cpd-plugin')
-rw-r--r-- | plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/CpdPlugin.java | 5 |
1 files changed, 3 insertions, 2 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 72d474afbf0..d4b7a553863 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 @@ -33,7 +33,7 @@ import java.util.List; public final class CpdPlugin extends SonarPlugin { - public List getExtensions() { + public List<?> getExtensions() { return ImmutableList.of( PropertyDefinition.builder(CoreProperties.CPD_CROSS_RPOJECT) .defaultValue(CoreProperties.CPD_CROSS_RPOJECT_DEFAULT_VALUE + "") @@ -57,7 +57,8 @@ public final class CpdPlugin extends SonarPlugin { .description("Patterns used to exclude some source files from the duplication detection mechanism. " + "See the \"Exclusions\" category to know how to use wildcards to specify this property.") .onQualifiers(Qualifiers.PROJECT, Qualifiers.MODULE) - .category(CoreProperties.CATEGORY_DUPLICATIONS) + .category(CoreProperties.CATEGORY_EXCLUSIONS) + .subCategory(CoreProperties.SUBCATEGORY_DUPLICATIONS_EXCLUSIONS) .multiValues(true) .build(), |