aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorHans Joachim Desserud <github@desserud.org>2013-11-02 19:26:35 +0100
committerHans Joachim Desserud <github@desserud.org>2013-11-02 19:26:35 +0100
commit500eff0b5f242d9481329a9bde126a7e1c29ed6f (patch)
tree2556da8863a6faf698bf712d86cde8d6fd476126 /sonar-plugin-api
parent2eb5e77ee6ff9f74f70a294e19c3ad23411367d1 (diff)
downloadsonarqube-500eff0b5f242d9481329a9bde126a7e1c29ed6f.tar.gz
sonarqube-500eff0b5f242d9481329a9bde126a7e1c29ed6f.zip
Fixes a couple of issues by using interfaces rather than a specific implementation
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinitions.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinitions.java b/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinitions.java
index be86d2c363e..4085756d0d3 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinitions.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/config/PropertyDefinitions.java
@@ -166,7 +166,7 @@ public final class PropertyDefinitions implements BatchComponent, ServerComponen
Map<Category, Map<SubCategory, Collection<PropertyDefinition>>> byCategory = new HashMap<Category, Map<SubCategory, Collection<PropertyDefinition>>>();
if (qualifier == null) {
// Special categories on global page
- HashMap<SubCategory, Collection<PropertyDefinition>> emailSubCategories = new HashMap<SubCategory, Collection<PropertyDefinition>>();
+ Map<SubCategory, Collection<PropertyDefinition>> emailSubCategories = new HashMap<SubCategory, Collection<PropertyDefinition>>();
emailSubCategories.put(new SubCategory("email", true), new ArrayList<PropertyDefinition>());
byCategory.put(new Category(CoreProperties.CATEGORY_GENERAL, false), emailSubCategories);