From: Julien Lancelot Date: Tue, 4 Feb 2014 16:38:51 +0000 (+0100) Subject: Fix quality flaw X-Git-Tag: 4.2~258 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f5dec2abf231427a38111a4720bf134a6a18f104;p=sonarqube.git Fix quality flaw --- 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) {