diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-07-01 16:40:43 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-07-01 16:41:04 +0200 |
commit | d223c5ded79b36396ad2b4b16dbbe1dd2dc24cd1 (patch) | |
tree | dae952a9f10660f4fba3636d64c034023238026e /sonar-plugin-api | |
parent | e7b58a71656a61b36449afdd76ba4eaacc44f950 (diff) | |
download | sonarqube-d223c5ded79b36396ad2b4b16dbbe1dd2dc24cd1.tar.gz sonarqube-d223c5ded79b36396ad2b4b16dbbe1dd2dc24cd1.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java index 4f966e2bab6..e6c114e5b31 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/RuleMeasure.java @@ -45,6 +45,9 @@ public class RuleMeasure extends Measure { this(metric, rule != null ? rule.ruleKey() : null, rulePriority, ruleCategory); } + /** + * This constructor is for internal use only. Please use static methods createForXXX(). + */ public RuleMeasure(Metric metric, @Nullable RuleKey ruleKey, @Nullable RulePriority rulePriority, @Nullable Integer ruleCategory) { super(metric); this.ruleKey = ruleKey; |