aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-12 08:43:54 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-12 08:43:54 +0100
commit109a3219b99352aa2b79388b44363aa3a959b2ef (patch)
tree355943b9658c08745767c6fba813f99c5bafd84c /sonar-plugin-api
parent659ff60252fcf0ca4f34bb69010be0043ef1c675 (diff)
downloadsonarqube-109a3219b99352aa2b79388b44363aa3a959b2ef.tar.gz
sonarqube-109a3219b99352aa2b79388b44363aa3a959b2ef.zip
Fix quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/rule/internal/DefaultRule.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/rule/internal/DefaultRule.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/rule/internal/DefaultRule.java
index 25d0cd7572b..13a3d3890eb 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/rule/internal/DefaultRule.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/rule/internal/DefaultRule.java
@@ -40,8 +40,8 @@ public class DefaultRule implements Rule {
private final Integer id;
private final String name, severity, description, metadata, characteristic;
private final RuleStatus status;
- RemediationFunction function;
- Duration factor, offset;
+ private final RemediationFunction function;
+ private final Duration factor, offset;
private final Map<String, RuleParam> params;