aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-cpd-plugin/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-09-18 10:17:17 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-09-18 10:17:17 +0200
commit62723fc7467cc38103ddee52c12bea95b5fecbed (patch)
tree9284a6d40bd9f02c03a8d6908a37a6f7f4282ba3 /plugins/sonar-cpd-plugin/src
parent369a9d974e4f5e48bccd76a68ade1d7497fd984a (diff)
downloadsonarqube-62723fc7467cc38103ddee52c12bea95b5fecbed.tar.gz
sonarqube-62723fc7467cc38103ddee52c12bea95b5fecbed.zip
SONAR-4660 Make Settings > 'Database Cleaner', 'Differential Views', 'Duplications', 'Localization' and 'Security' pages, some sub-categories of the 'General' page
Diffstat (limited to 'plugins/sonar-cpd-plugin/src')
-rw-r--r--plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/CpdPlugin.java6
1 files changed, 4 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 71edec05f83..ec991de112e 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
@@ -40,7 +40,8 @@ public final class CpdPlugin extends SonarPlugin {
.name("Cross project duplication detection")
.description("SonarQube supports the detection of cross project duplications. Activating this property will slightly increase each SonarQube analysis time.")
.onQualifiers(Qualifiers.PROJECT, Qualifiers.MODULE)
- .category(CoreProperties.CATEGORY_DUPLICATIONS)
+ .category(CoreProperties.CATEGORY_GENERAL)
+ .subCategory(CoreProperties.SUBCATEGORY_DUPLICATIONS)
.type(PropertyType.BOOLEAN)
.build(),
PropertyDefinition.builder(CoreProperties.CPD_SKIP_PROPERTY)
@@ -48,7 +49,8 @@ public final class CpdPlugin extends SonarPlugin {
.name("Skip")
.description("Disable detection of duplications")
.hidden()
- .category(CoreProperties.CATEGORY_DUPLICATIONS)
+ .category(CoreProperties.CATEGORY_GENERAL)
+ .subCategory(CoreProperties.SUBCATEGORY_DUPLICATIONS)
.type(PropertyType.BOOLEAN)
.build(),
PropertyDefinition.builder(CoreProperties.CPD_EXCLUSIONS)