From f0c69d4f30ac418baa9407f3015e7ce32c8f8841 Mon Sep 17 00:00:00 2001 From: Mohamed Karray Date: Tue, 16 Oct 2018 13:18:59 +0200 Subject: [PATCH] disable sonar validation with id squid:S2068 --- .../java/sonia/scm/user/ChangePasswordNotAllowedException.java | 1 + 1 file changed, 1 insertion(+) diff --git a/scm-core/src/main/java/sonia/scm/user/ChangePasswordNotAllowedException.java b/scm-core/src/main/java/sonia/scm/user/ChangePasswordNotAllowedException.java index caa0c918fc..a942943881 100644 --- a/scm-core/src/main/java/sonia/scm/user/ChangePasswordNotAllowedException.java +++ b/scm-core/src/main/java/sonia/scm/user/ChangePasswordNotAllowedException.java @@ -3,6 +3,7 @@ package sonia.scm.user; public class ChangePasswordNotAllowedException extends RuntimeException { public static final String WRONG_USER_TYPE = "User of type {0} are not allowed to change password"; + @SuppressWarnings("squid:S2068") public static final String OLD_PASSWORD_REQUIRED = "the old password is required."; public ChangePasswordNotAllowedException(String message) {