From 2306a26aef2680005396a109385d5913a53442d3 Mon Sep 17 00:00:00 2001 From: "Christopher L. Shannon (cshannon)" Date: Thu, 3 Nov 2022 10:44:26 -0400 Subject: [PATCH] AMQ-9156 - fix formatting (cherry picked from commit 3bd099f4697e140bbb6c782ab0677d930f59518d) --- .../org/apache/activemq/broker/region/TopicSubscription.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/region/TopicSubscription.java b/activemq-broker/src/main/java/org/apache/activemq/broker/region/TopicSubscription.java index 4e62683026..0e13dd2dbe 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/broker/region/TopicSubscription.java +++ b/activemq-broker/src/main/java/org/apache/activemq/broker/region/TopicSubscription.java @@ -358,7 +358,7 @@ public class TopicSubscription extends AbstractSubscription { if (isUseTopicSubscriptionInflightStats()) { synchronized(dispatchLock) { for (DispatchedNode node : dispatched) { - if (node.getDestination()== destination) { + if (node.getDestination() == destination) { //We only need to clean up inflight message size here on the sub stats as //inflight on destination stat is cleaned up on destroy getSubscriptionStatistics().getInflightMessageSize().addSize(-node.getSize());