aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-08-29 17:41:53 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-08-29 17:41:53 +0200
commit2a88bbcff4804e9e0eef34a46d19d533d1d0a19f (patch)
treef5946b5ddb5a557d5469dcf8c001651f5fcc1f72 /sonar-plugin-api
parent22cbe066983a2079d49fac04b4d426002115e081 (diff)
downloadsonarqube-2a88bbcff4804e9e0eef34a46d19d533d1d0a19f.tar.gz
sonarqube-2a88bbcff4804e9e0eef34a46d19d533d1d0a19f.zip
Fix quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/utils/MessageException.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/MessageException.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/MessageException.java
index 5d757c27bbb..dba3f799798 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/MessageException.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/utils/MessageException.java
@@ -41,11 +41,11 @@ import static com.google.common.collect.Lists.newArrayList;
*/
public class MessageException extends RuntimeException {
- private String l10nKey;
- private Collection<Object> l10nParams;
+ private final String l10nKey;
+ private final Collection<Object> l10nParams;
private MessageException(String s) {
- super(s);
+ this(s, null, null);
}
private MessageException(@Nullable String message, @Nullable String l10nKey, @Nullable Object[] l10nParams) {