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 f24e9c26..2d489634 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,6 +33,7 @@ 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()) { @@ -68,6 +69,7 @@ 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()) {