diff options
author | Jacek <jacek.poreda@sonarsource.com> | 2019-12-13 11:20:52 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2020-01-13 20:46:28 +0100 |
commit | ec1f6fbe740e121bbf14d4138663e353144d54a2 (patch) | |
tree | 7b44d36d65c86626c6f7468e252cba5e4648664d /sonar-plugin-api | |
parent | fc60b0a3b35ebab8ac47a3547ccd231537f4765a (diff) | |
download | sonarqube-ec1f6fbe740e121bbf14d4138663e353144d54a2.tar.gz sonarqube-ec1f6fbe740e121bbf14d4138663e353144d54a2.zip |
SONAR-12745 Adjust `changes on my issue` email notification for Security Hotspots
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleType.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleType.java b/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleType.java index a8012e26cf6..69dca215e83 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleType.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/rules/RuleType.java @@ -61,7 +61,7 @@ public enum RuleType { } throw new IllegalArgumentException(format("Unsupported type value : %d", dbConstant)); } - + @CheckForNull public static RuleType valueOfNullable(int dbConstant) { // iterating the array is fast-enough as size is small. No need for a map. @@ -75,5 +75,4 @@ public enum RuleType { } throw new IllegalArgumentException(format("Unsupported type value : %d", dbConstant)); } - } |