This is an automated email from the ASF dual-hosted git repository. clebertsuconic pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
commit f07ad09c076266cef16fb3cb4db296c360a7c7d3 Author: Justin Bertram <[email protected]> AuthorDate: Mon Sep 21 10:19:33 2020 -0500 NO-JIRA fix internal QueueControl method spelling --- .../artemis/core/management/impl/QueueControlImpl.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 cdf589d..8e201b3 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 @@ -909,7 +909,7 @@ public class QueueControlImpl extends AbstractControl implements QueueControl { AuditLogger.countMessages(queue, filterStr); } - Long value = intenalCountMessages(filterStr, null).get(null); + Long value = internalCountMessages(filterStr, null).get(null); return value == null ? 0 : value; } @@ -919,10 +919,10 @@ public class QueueControlImpl extends AbstractControl implements QueueControl { AuditLogger.countMessages(queue, filterStr, groupByProperty); } - return JsonUtil.toJsonObject(intenalCountMessages(filterStr, groupByProperty)).toString(); + return JsonUtil.toJsonObject(internalCountMessages(filterStr, groupByProperty)).toString(); } - private Map<String, Long> intenalCountMessages(final String filterStr, final String groupByPropertyStr) throws Exception { + private Map<String, Long> internalCountMessages(final String filterStr, final String groupByPropertyStr) throws Exception { checkStarted(); clearIO(); @@ -957,7 +957,7 @@ public class QueueControlImpl extends AbstractControl implements QueueControl { AuditLogger.countDeliveringMessages(queue, filterStr); } - Long value = intenalCountDeliveryMessages(filterStr, null).get(null); + Long value = internalCountDeliveryMessages(filterStr, null).get(null); return value == null ? 0 : value; } @@ -967,10 +967,10 @@ public class QueueControlImpl extends AbstractControl implements QueueControl { AuditLogger.countDeliveringMessages(queue, filterStr, groupByProperty); } - return JsonUtil.toJsonObject(intenalCountDeliveryMessages(filterStr, groupByProperty)).toString(); + return JsonUtil.toJsonObject(internalCountDeliveryMessages(filterStr, groupByProperty)).toString(); } - private Map<String, Long> intenalCountDeliveryMessages(final String filterStr, final String groupByPropertyStr) throws Exception { + private Map<String, Long> internalCountDeliveryMessages(final String filterStr, final String groupByPropertyStr) throws Exception { checkStarted(); clearIO();
