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

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/master by this push:
     new 85851f7  [AMQ-7391] Minor typo fixed
85851f7 is described below

commit 85851f7ce830b64392e1a63cd5d8c20b4ca35125
Author: Jean-Baptiste Onofré <[email protected]>
AuthorDate: Tue Jan 28 10:46:48 2020 +0100

    [AMQ-7391] Minor typo fixed
    
    Credit: Alexandre Fruchaud <mmacphail>
---
 .../org/apache/activemq/broker/view/MessageBrokerView.java   |  2 +-
 .../java/org/apache/activemq/network/NetworkConnector.java   | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/activemq-broker/src/main/java/org/apache/activemq/broker/view/MessageBrokerView.java
 
b/activemq-broker/src/main/java/org/apache/activemq/broker/view/MessageBrokerView.java
index eeea62d..b45f15f 100644
--- 
a/activemq-broker/src/main/java/org/apache/activemq/broker/view/MessageBrokerView.java
+++ 
b/activemq-broker/src/main/java/org/apache/activemq/broker/view/MessageBrokerView.java
@@ -266,7 +266,7 @@ public class MessageBrokerView  {
             if (view==null){
 
                     /**
-                     * If auto destinatons are allowed (on by default) - this 
will create a Broker Destination
+                     * If auto destinations are allowed (on by default) - this 
will create a Broker Destination
                      * if it doesn't exist. We could query the regionBroker 
first to check - but this affords more
                      * flexibility - e.g. you might want to set up a query on 
destination statistics before any
                      * messaging clients have started (and hence created the 
destination themselves
diff --git 
a/activemq-broker/src/main/java/org/apache/activemq/network/NetworkConnector.java
 
b/activemq-broker/src/main/java/org/apache/activemq/network/NetworkConnector.java
index 62192d3..162912a 100644
--- 
a/activemq-broker/src/main/java/org/apache/activemq/network/NetworkConnector.java
+++ 
b/activemq-broker/src/main/java/org/apache/activemq/network/NetworkConnector.java
@@ -101,18 +101,18 @@ public abstract class NetworkConnector extends 
NetworkBridgeConfiguration implem
     }
 
 
-    public void addExcludedDestination(ActiveMQDestination destiantion) {
-        this.excludedDestinations.add(destiantion);
+    public void addExcludedDestination(ActiveMQDestination destination) {
+        this.excludedDestinations.add(destination);
     }
 
 
-    public void addStaticallyIncludedDestination(ActiveMQDestination 
destiantion) {
-        this.staticallyIncludedDestinations.add(destiantion);
+    public void addStaticallyIncludedDestination(ActiveMQDestination 
destination) {
+        this.staticallyIncludedDestinations.add(destination);
     }
 
 
-    public void addDynamicallyIncludedDestination(ActiveMQDestination 
destiantion) {
-        this.dynamicallyIncludedDestinations.add(destiantion);
+    public void addDynamicallyIncludedDestination(ActiveMQDestination 
destination) {
+        this.dynamicallyIncludedDestinations.add(destination);
     }
 
     public ConnectionFilter getConnectionFilter() {

Reply via email to