From ee87f33ce7aada9f05f43cb3b00f2fab0793cd82 Mon Sep 17 00:00:00 2001 From: Bryan Bende Date: Fri, 6 Nov 2015 09:10:10 -0500 Subject: [PATCH] Fixing check-style violation in StandardFlowFileQueue --- .../org/apache/nifi/controller/StandardFlowFileQueue.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/StandardFlowFileQueue.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/StandardFlowFileQueue.java index 0b3c661d11..ae991c806e 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/StandardFlowFileQueue.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/StandardFlowFileQueue.java @@ -1233,8 +1233,8 @@ public final class StandardFlowFileQueue implements FlowFileQueue { } private void logIfNegative(final FlowFileQueueSize original, final FlowFileQueueSize newSize, final String counterName) { - if (newSize.activeQueueBytes < 0 || newSize.activeQueueCount < 0 || newSize.swappedBytes < 0 || newSize.swappedCount < 0 || - newSize.unacknowledgedBytes < 0 || newSize.unacknowledgedCount < 0) { + if (newSize.activeQueueBytes < 0 || newSize.activeQueueCount < 0 || newSize.swappedBytes < 0 || newSize.swappedCount < 0 + || newSize.unacknowledgedBytes < 0 || newSize.unacknowledgedCount < 0) { logger.error("Updated Size of Queue " + counterName + " from " + original + " to " + newSize, new RuntimeException("Cannot create negative queue size"));