From f5dec2abf231427a38111a4720bf134a6a18f104 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Tue, 4 Feb 2014 17:38:51 +0100 Subject: [PATCH] Fix quality flaw --- .../java/org/sonar/server/exceptions/BadRequestException.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-server/src/main/java/org/sonar/server/exceptions/BadRequestException.java b/sonar-server/src/main/java/org/sonar/server/exceptions/BadRequestException.java index 4b6bcc485ba..58bf7be0917 100644 --- a/sonar-server/src/main/java/org/sonar/server/exceptions/BadRequestException.java +++ b/sonar-server/src/main/java/org/sonar/server/exceptions/BadRequestException.java @@ -60,12 +60,12 @@ public class BadRequestException extends ServerException { return new BadRequestException(message); } - public static BadRequestException of(@Nullable String message, List errors) { + public static BadRequestException of(String message, List errors) { return new BadRequestException(message, errors); } public static BadRequestException of(List errors) { - return new BadRequestException(null, errors); + return new BadRequestException(null, null, null, errors); } public static BadRequestException ofL10n(String l10nKey, Object... l10nParams) { -- 2.39.5