From 956ef0d1b6d0e88d66768104700026b05d7c9ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kohlschu=CC=88tter?= Date: Thu, 27 Jul 2023 19:40:26 +0200 Subject: [PATCH] Fix PMD/checkstyle warnings --- .../test/java/org/newsclub/net/unix/FinalizeTestClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/junixsocket-common/src/test/java/org/newsclub/net/unix/FinalizeTestClient.java b/junixsocket-common/src/test/java/org/newsclub/net/unix/FinalizeTestClient.java index 85995d6b8..026c0f8d6 100644 --- a/junixsocket-common/src/test/java/org/newsclub/net/unix/FinalizeTestClient.java +++ b/junixsocket-common/src/test/java/org/newsclub/net/unix/FinalizeTestClient.java @@ -36,7 +36,8 @@ @SuppressFBWarnings({ "THROWS_METHOD_THROWS_CLAUSE_THROWABLE", "THROWS_METHOD_THROWS_CLAUSE_BASIC_EXCEPTION"}) public class FinalizeTestClient { - @SuppressFBWarnings({"RV_RETURN_VALUE_IGNORED"}) + @SuppressWarnings("PMD.DoNotCallGarbageCollectionExplicitly") + @SuppressFBWarnings({"RV_RETURN_VALUE_IGNORED", "DM_GC"}) public static void main(String[] args) throws Exception { String socketType = System.getProperty("test.junixsocket.socket.type", ""); String socketName = System.getProperty("test.junixsocket.socket", "");