aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2019-12-13 11:20:52 +0100
committerSonarTech <sonartech@sonarsource.com>2020-01-13 20:46:28 +0100
commitec1f6fbe740e121bbf14d4138663e353144d54a2 (patch)
tree7b44d36d65c86626c6f7468e252cba5e4648664d /sonar-plugin-api
parentfc60b0a3b35ebab8ac47a3547ccd231537f4765a (diff)
downloadsonarqube-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.java3
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));
}
-
}