From 2a88bbcff4804e9e0eef34a46d19d533d1d0a19f Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 29 Aug 2013 17:41:53 +0200 Subject: [PATCH] Fix quality flaws --- .../src/main/java/org/sonar/api/utils/MessageException.java | 6 +++--- 1 file 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 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) { -- 2.39.5