Skip to content

Commit 05d29e0

Browse files
committed
remove some pmd NPathComplexity
1 parent ddb2f62 commit 05d29e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/authentication/src/main/java/cloud/stackit/sdk/authentication/examples/AuthenticationExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final class AuthenticationExample {
1717

1818
private AuthenticationExample() {}
1919

20-
@SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.NPathComplexity", "PMD.SystemPrintln"})
20+
@SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.SystemPrintln"})
2121
public static void main(String[] args) throws IOException {
2222
/* OPTION 1: setting the paths to service account key (and private key) as configuration */
2323
try {

examples/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/examples/ResourcemanagerExample.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
import java.util.UUID;
1919

2020
final class ResourcemanagerExample {
21-
21+
2222
private ResourcemanagerExample() {}
2323

24-
@SuppressWarnings({"PMD.NPathComplexity", "PMD.SystemPrintln"})
24+
@SuppressWarnings({"PMD.SystemPrintln"})
2525
public static void main(String[] args) throws IOException {
2626
// Credentials are read from the credentialsFile in `~/.stackit/credentials.json` or the env
2727
// STACKIT_SERVICE_ACCOUNT_KEY_PATH / STACKIT_SERVICE_ACCOUNT_KEY

0 commit comments

Comments
 (0)