[1/2] activemq-artemis git commit: ARTEMIS-2194 Typo in word 'update' in class MessageCounterInfo

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[1/2] activemq-artemis git commit: ARTEMIS-2194 Typo in word 'update' in class MessageCounterInfo

jbertram
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 7c1508e7c -> 4231d660c


ARTEMIS-2194 Typo in word 'update' in class MessageCounterInfo


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

Branch: refs/heads/master
Commit: a65b62b4ede204843f5646d1e417e7c75b9c39f8
Parents: 7c1508e
Author: Matt Slonetsky <[hidden email]>
Authored: Fri Dec 7 09:09:56 2018 -0500
Committer: Justin Bertram <[hidden email]>
Committed: Thu Dec 13 10:48:44 2018 -0600

----------------------------------------------------------------------
 .../api/core/management/MessageCounterInfo.java       | 14 +++++++++++---
 .../artemis/jms/example/MessageCounterExample.java    |  2 +-
 2 files changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/a65b62b4/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/MessageCounterInfo.java
----------------------------------------------------------------------
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 b0dd16c..7b58afc 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
@@ -42,7 +42,7 @@ public final class MessageCounterInfo {
 
    private final String lastAddTimestamp;
 
-   private final String udpateTimestamp;
+   private final String updateTimestamp;
 
    /**
     * Returns a MessageCounterInfo corresponding to the JSON serialization returned
@@ -82,7 +82,7 @@ public final class MessageCounterInfo {
       this.depth = depth;
       this.depthDelta = depthDelta;
       this.lastAddTimestamp = lastAddTimestamp;
-      this.udpateTimestamp = udpateTimestamp;
+      this.updateTimestamp = udpateTimestamp;
    }
 
    // Public --------------------------------------------------------
@@ -146,7 +146,15 @@ public final class MessageCounterInfo {
    /**
     * Returns the timestamp of the last time the queue was updated.
     */
+   public String getUpdateTimestamp() {
+      return updateTimestamp;
+   }
+
+   /**
+    * Spelling error in public API. Remove in next major release.
+    */
+   @Deprecated
    public String getUdpateTimestamp() {
-      return udpateTimestamp;
+      return updateTimestamp;
    }
 }

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/a65b62b4/examples/features/standard/message-counters/src/main/java/org/apache/activemq/artemis/jms/example/MessageCounterExample.java
----------------------------------------------------------------------
diff --git a/examples/features/standard/message-counters/src/main/java/org/apache/activemq/artemis/jms/example/MessageCounterExample.java b/examples/features/standard/message-counters/src/main/java/org/apache/activemq/artemis/jms/example/MessageCounterExample.java
index 0a8dadc..72172c2 100644
--- a/examples/features/standard/message-counters/src/main/java/org/apache/activemq/artemis/jms/example/MessageCounterExample.java
+++ b/examples/features/standard/message-counters/src/main/java/org/apache/activemq/artemis/jms/example/MessageCounterExample.java
@@ -129,7 +129,7 @@ public class MessageCounterExample {
    }
 
    private static void displayMessageCounter(final MessageCounterInfo counter) {
-      System.out.format("%s (sample updated at %s)%n", counter.getName(), counter.getUdpateTimestamp());
+      System.out.format("%s (sample updated at %s)%n", counter.getName(), counter.getUpdateTimestamp());
       System.out.format("   %s message(s) added to the queue (since last sample: %s)%n", counter.getCount(), counter.getCountDelta());
       System.out.format("   %s message(s) in the queue (since last sample: %s)%n", counter.getDepth(), counter.getDepthDelta());
       System.out.format("   last message added at %s%n%n", counter.getLastAddTimestamp());

Reply | Threaded
Open this post in threaded view
|

[2/2] activemq-artemis git commit: This closes #2453

jbertram
This closes #2453


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

Branch: refs/heads/master
Commit: 4231d660c1151ed4958eae4a1b8720752d82ade7
Parents: 7c1508e a65b62b
Author: Justin Bertram <[hidden email]>
Authored: Thu Dec 13 10:48:58 2018 -0600
Committer: Justin Bertram <[hidden email]>
Committed: Thu Dec 13 10:48:58 2018 -0600

----------------------------------------------------------------------
 .../api/core/management/MessageCounterInfo.java       | 14 +++++++++++---
 .../artemis/jms/example/MessageCounterExample.java    |  2 +-
 2 files changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------