diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-07-24 15:01:09 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-07-24 15:01:09 +0200 |
commit | 535b016dd36cace4a4a32b8b1f5c7aaf5988d5bc (patch) | |
tree | 183717ad648f8d8c672f774f124c73fcd56a4026 /sonar-batch-protocol/src | |
parent | 7e3e925505cf950e564bb4bc877cab0012640988 (diff) | |
download | sonarqube-535b016dd36cace4a4a32b8b1f5c7aaf5988d5bc.tar.gz sonarqube-535b016dd36cace4a4a32b8b1f5c7aaf5988d5bc.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-batch-protocol/src')
-rw-r--r-- | sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/input/ActiveRule.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/input/ActiveRule.java b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/input/ActiveRule.java index e9b4cab7621..6c1992ac1e2 100644 --- a/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/input/ActiveRule.java +++ b/sonar-batch-protocol/src/main/java/org/sonar/batch/protocol/input/ActiveRule.java @@ -20,7 +20,6 @@ package org.sonar.batch.protocol.input; import javax.annotation.CheckForNull; -import javax.annotation.Nullable; import java.util.HashMap; import java.util.Map; @@ -30,7 +29,7 @@ public class ActiveRule { private final String name, severity, internalKey, language; private final Map<String, String> params = new HashMap<String, String>(); - public ActiveRule(String repositoryKey, String ruleKey, @Nullable String name, String severity, String internalKey, String language) { + public ActiveRule(String repositoryKey, String ruleKey, String name, String severity, String internalKey, String language) { this.repositoryKey = repositoryKey; this.ruleKey = ruleKey; this.name = name; @@ -47,7 +46,6 @@ public class ActiveRule { return ruleKey; } - @CheckForNull public String name() { return name; } |