You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2021/06/03 14:49:24 UTC

[activemq-artemis] branch main updated: NO-JIRA fixing spelling udpate as update

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 7137252  NO-JIRA fixing spelling udpate as update
7137252 is described below

commit 7137252c5d73d2f913b52119d9d10ed88a3ae6d0
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Thu Jun 3 10:43:11 2021 -0400

    NO-JIRA fixing spelling udpate as update
---
 .../activemq/artemis/api/core/management/MessageCounterInfo.java      | 4 ++--
 .../java/org/apache/activemq/artemis/core/postoffice/Bindings.java    | 2 +-
 docs/user-manual/en/management.md                                     | 2 +-
 .../activemq/artemis/tests/integration/client/UpdateQueueTest.java    | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/MessageCounterInfo.java b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/MessageCounterInfo.java
index e58b80d..aa2b0b3 100644
--- a/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/MessageCounterInfo.java
+++ b/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/MessageCounterInfo.java
@@ -77,7 +77,7 @@ public final class MessageCounterInfo {
                              final int depthDelta,
                              final String lastAddTimestamp,
                              final String lastAckTimestamp,
-                             final String udpateTimestamp) {
+                             final String updateTimestamp) {
       this.name = name;
       this.subscription = subscription;
       this.durable = durable;
@@ -87,7 +87,7 @@ public final class MessageCounterInfo {
       this.depthDelta = depthDelta;
       this.lastAddTimestamp = lastAddTimestamp;
       this.lastAckTimestamp = lastAckTimestamp;
-      this.updateTimestamp = udpateTimestamp;
+      this.updateTimestamp = updateTimestamp;
    }
 
    // Public --------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/Bindings.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/Bindings.java
index d1f6f47..b142f8e 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/Bindings.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/Bindings.java
@@ -27,7 +27,7 @@ import org.apache.activemq.artemis.core.server.group.UnproposalListener;
 
 public interface Bindings extends UnproposalListener {
 
-   // this is to inform the parent there was an udpate on the bindings
+   // this is to inform the parent there was an update on the bindings
    void updated(QueueBinding binding);
 
    Collection<Binding> getBindings();
diff --git a/docs/user-manual/en/management.md b/docs/user-manual/en/management.md
index ec94a2f..f09bf18 100644
--- a/docs/user-manual/en/management.md
+++ b/docs/user-manual/en/management.md
@@ -915,7 +915,7 @@ Message counters give additional information about the queues:
 
   The timestamp of the last time a message from the queue was acknowledged
 
-- `udpateTimestamp`
+- `updateTimestamp`
 
   The timestamp of the last message counter update
 
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/UpdateQueueTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/UpdateQueueTest.java
index f355c70..e49c1ad 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/UpdateQueueTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/UpdateQueueTest.java
@@ -101,7 +101,7 @@ public class UpdateQueueTest extends ActiveMQTestBase {
 
       Assert.assertEquals(originalID, server.locateQueue(ADDRESS).getID());
 
-      // stopping, restarting to make sure the system will not create an extra record without an udpate
+      // stopping, restarting to make sure the system will not create an extra record without an update
       server.stop();
       server.start();
       validateBindingRecords(server, JournalRecordIds.QUEUE_BINDING_RECORD, 2);
@@ -188,7 +188,7 @@ public class UpdateQueueTest extends ActiveMQTestBase {
 
       Assert.assertEquals(originalID, server.locateQueue(ADDRESS).getID());
 
-      // stopping, restarting to make sure the system will not create an extra record without an udpate
+      // stopping, restarting to make sure the system will not create an extra record without an update
       server.stop();
       server.start();
       validateBindingRecords(server, JournalRecordIds.QUEUE_BINDING_RECORD, 2);