Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuism committed Nov 27, 2024
1 parent 3d56440 commit dbbcaa0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,15 @@
<version>3.6.0</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<excludeGeneratedSources>true</excludeGeneratedSources>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<phase>test</phase>
<goals>
<goal>check</goal>
</goals>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/nl/ictu/service/CryptographerImpl.java
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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())) {
Expand Down

0 comments on commit dbbcaa0

Please sign in to comment.