]> source.dussan.org Git - sonarqube.git/commitdiff
fix quality flaws
authorStephane Gamard <stephane.gamard@searchbox.com>
Tue, 1 Jul 2014 15:52:15 +0000 (17:52 +0200)
committerStephane Gamard <stephane.gamard@searchbox.com>
Tue, 1 Jul 2014 15:52:22 +0000 (17:52 +0200)
sonar-server/src/main/java/org/sonar/server/activity/index/ActivityNormalizer.java
sonar-server/src/main/java/org/sonar/server/qualityprofile/index/ActiveRuleNormalizer.java
sonar-server/src/main/java/org/sonar/server/rule/index/RuleNormalizer.java

index 06c53600382c15245cbfa7fc382aaac221824a91..531caf5cf0a00a1ae1208e5aa38996860c87b263 100644 (file)
@@ -57,7 +57,7 @@ public class ActivityNormalizer extends BaseNormalizer<ActivityDto, String> {
     public static final IndexField DETAILS = addSearchable(IndexField.Type.OBJECT, "details");
     public static final IndexField MESSAGE = addSearchable(IndexField.Type.STRING, "message");
 
-    public static final Set<IndexField> ALL_FIELDS = getAllFields();
+    public static Set<IndexField> ALL_FIELDS = getAllFields();
 
     private static final Set<IndexField> getAllFields() {
       Set<IndexField> fields = new HashSet<IndexField>();
index 3306df57e7ce504c062c28a101427cd80d64c0b3..f6f273a9e68f5b17b3ad69536f638fe656d86648 100644 (file)
@@ -55,7 +55,8 @@ public class ActiveRuleNormalizer extends BaseNormalizer<ActiveRuleDto, ActiveRu
     public static final IndexField PARENT_KEY = add(IndexField.Type.STRING, "parentKey");
     public static final IndexField RULE_KEY = add(IndexField.Type.STRING, "ruleKey");
     public static final IndexField PARAMS = addEmbedded("params", ActiveRuleParamField.ALL_FIELDS);
-    public static final Set<IndexField> ALL_FIELDS = getAllFields();
+
+    public static Set<IndexField> ALL_FIELDS = getAllFields();
 
     private static Set<IndexField> getAllFields() {
       Set<IndexField> fields = new HashSet<IndexField>();
index 912cfad380eca4f8040bf960d4535bc7c868bdb4..f907e993ea6eed1cdf9130b8480989b08c978fbb 100644 (file)
@@ -54,7 +54,8 @@ public class RuleNormalizer extends BaseNormalizer<RuleDto, RuleKey> {
     public static final IndexField TYPE = add(IndexField.Type.STRING, "type");
     public static final IndexField DESCRIPTION = addSearchable(IndexField.Type.TEXT, "description");
     public static final IndexField DEFAULT_VALUE = add(IndexField.Type.STRING, "defaultValue");
-    public static final Set<IndexField> ALL_FIELDS = getAllFields();
+
+    public static Set<IndexField> ALL_FIELDS = getAllFields();
 
     private static final Set<IndexField> getAllFields() {
       Set<IndexField> fields = new HashSet<IndexField>();