From: Julien Lancelot Date: Thu, 29 Aug 2013 15:41:53 +0000 (+0200) Subject: Fix quality flaws X-Git-Tag: 3.7.1-RC1-~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2a88bbcff4804e9e0eef34a46d19d533d1d0a19f;p=sonarqube.git Fix quality flaws --- 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 l10nParams; + private final String l10nKey; + private final Collection l10nParams; private MessageException(String s) { - super(s); + this(s, null, null); } private MessageException(@Nullable String message, @Nullable String l10nKey, @Nullable Object[] l10nParams) {