From dbbcaa02b4a4deeadf9c963d55155d13004eabc1 Mon Sep 17 00:00:00 2001 From: Bas Huisman Date: Wed, 27 Nov 2024 16:01:27 +0100 Subject: [PATCH] fix checkstyle --- pom.xml | 3 ++- src/main/java/nl/ictu/service/CryptographerImpl.java | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6df82d5..76d7d69 100644 --- a/pom.xml +++ b/pom.xml @@ -131,6 +131,7 @@ 3.6.0 checkstyle.xml + true true true false @@ -138,7 +139,7 @@ validate - validate + test check diff --git a/src/main/java/nl/ictu/service/CryptographerImpl.java b/src/main/java/nl/ictu/service/CryptographerImpl.java index 49c283b..aae8d30 100644 --- a/src/main/java/nl/ictu/service/CryptographerImpl.java +++ b/src/main/java/nl/ictu/service/CryptographerImpl.java @@ -1,5 +1,6 @@ package nl.ictu.service; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import nl.ictu.configuration.PseudoniemenServiceProperties; import org.springframework.stereotype.Service; import org.springframework.util.StringUtils; @@ -30,6 +31,7 @@ public class CryptographerImpl implements Cryptographer { static final Base64.Decoder BASE_64_DECODER = Base64.getDecoder(); + @SuppressFBWarnings("CT_CONSTRUCTOR_THROW") public CryptographerImpl(final PseudoniemenServiceProperties pseudoniemenServiceProperties) { if (!StringUtils.hasText(pseudoniemenServiceProperties.getTokenPrivateKey())) {