aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-07-13 19:11:09 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-07-13 19:21:36 +0200
commit3f785d11349584c856b0c55a014e4714037ddd84 (patch)
tree3cfd8ed57c9ffae95d54bde4a0103df2d232916a /sonar-plugin-api
parent71624bb5617ab6ffb67de3f07757b33cc8ebb83d (diff)
downloadsonarqube-3f785d11349584c856b0c55a014e4714037ddd84.tar.gz
sonarqube-3f785d11349584c856b0c55a014e4714037ddd84.zip
Fix quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRuleParam.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRuleParam.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRuleParam.java
index bb18090b378..61e5a0a5b3d 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRuleParam.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/ActiveRuleParam.java
@@ -27,18 +27,6 @@ public class ActiveRuleParam implements Cloneable {
private String paramKey;
private String value;
- public Integer getId() {
- return id;
- }
-
- /**
- * @deprecated visibility should be decreased to protected or package
- */
- @Deprecated
- void setId(Integer id) {
- this.id = id;
- }
-
/**
* @deprecated visibility should be decreased to protected or package
*/
@@ -57,6 +45,18 @@ public class ActiveRuleParam implements Cloneable {
this.paramKey = ruleParam.getKey();
}
+ public Integer getId() {
+ return id;
+ }
+
+ /**
+ * @deprecated visibility should be decreased to protected or package
+ */
+ @Deprecated
+ void setId(Integer id) {
+ this.id = id;
+ }
+
public ActiveRule getActiveRule() {
return activeRule;
}