You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by mi...@apache.org on 2018/08/13 07:39:05 UTC

[2/4] activemq-artemis git commit: [ARTEMIS-2022] Ajust checkstyle

[ARTEMIS-2022] Ajust checkstyle


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/349477ed
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/349477ed
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/349477ed

Branch: refs/heads/master
Commit: 349477ed31b8d4993dca757981419feec341d014
Parents: e159171
Author: Arthur Fritz Santiago <ar...@db1.com.br>
Authored: Fri Aug 10 12:09:32 2018 -0300
Committer: Michael Andre Pearce <mi...@me.com>
Committed: Mon Aug 13 08:37:56 2018 +0100

----------------------------------------------------------------------
 .../activemq/artemis/core/management/impl/QueueControlImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/349477ed/artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java
index 24afd9f..ed46779 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java
@@ -724,7 +724,7 @@ public class QueueControlImpl extends AbstractControl implements QueueControl {
                while (iterator.hasNext()) {
                   MessageReference ref = iterator.next();
                   String messageProperty = ref.getMessage().getStringProperty(propertySearch);
-                  messageProperty = messageProperty == null ? UNDEFINED : messageProperty ;
+                  messageProperty = messageProperty == null ? UNDEFINED : messageProperty;
                   Integer value = result.getOrDefault(messageProperty, 0);
                   result.put(messageProperty, ++value);
                }