From 2ee7ffd73076a36422f8a3fe2b9e7e03d38ba7b6 Mon Sep 17 00:00:00 2001 From: Nikita Tkachenko Date: Fri, 3 May 2024 16:37:58 +0200 Subject: [PATCH] Revert "supressing redundant nullcheck warnings called by 2.407 (#420)" This reverts commit 43b02717bd89a4fcf639f005996e31e5f336cd4f. --- .../jenkins/plugins/datadog/listeners/DatadogQueueListener.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/datadog/jenkins/plugins/datadog/listeners/DatadogQueueListener.java b/src/main/java/org/datadog/jenkins/plugins/datadog/listeners/DatadogQueueListener.java index 2d489634..f24e9c26 100644 --- a/src/main/java/org/datadog/jenkins/plugins/datadog/listeners/DatadogQueueListener.java +++ b/src/main/java/org/datadog/jenkins/plugins/datadog/listeners/DatadogQueueListener.java @@ -33,7 +33,6 @@ public class DatadogQueueListener extends QueueListener { private static final ExecutorService threadPool = Executors.newCachedThreadPool(); @Override - @SuppressFBWarnings("RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE") public void onEnterBuildable(Queue.BuildableItem item) { try { if (!DatadogUtilities.getDatadogGlobalDescriptor().getEnableCiVisibility()) { @@ -69,7 +68,6 @@ public void onEnterBuildable(Queue.BuildableItem item) { } @Override - @SuppressFBWarnings("RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE") public void onLeaveBuildable(Queue.BuildableItem item) { try { if (!DatadogUtilities.getDatadogGlobalDescriptor().getEnableCiVisibility()) {