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 ecb404b  BrokerService: fix typo in field and parameter name
     new dcb5ba1  Merge pull request #275 from 
PascalSchumacher/BrokerService_fix_typo
ecb404b is described below

commit ecb404b3ebf66a9d2182f28312cb0664d44814b3
Author: Pascal Schumacher <[email protected]>
AuthorDate: Tue Feb 20 21:41:50 2018 +0100

    BrokerService: fix typo in field and parameter name
---
 .../org/apache/activemq/broker/BrokerService.java  | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git 
a/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java 
b/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
index f9cd50f..5a72660 100644
--- 
a/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
+++ 
b/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
@@ -175,7 +175,7 @@ public class BrokerService implements Service {
     private TaskRunnerFactory persistenceTaskRunnerFactory;
     private SystemUsage systemUsage;
     private SystemUsage producerSystemUsage;
-    private SystemUsage consumerSystemUsaage;
+    private SystemUsage consumerSystemUsage;
     private PersistenceAdapter persistenceAdapter;
     private PersistenceAdapterFactory persistenceFactory;
     protected DestinationFactory destinationFactory;
@@ -1207,29 +1207,29 @@ public class BrokerService implements Service {
      * @throws IOException
      */
     public SystemUsage getConsumerSystemUsage() throws IOException {
-        if (this.consumerSystemUsaage == null) {
+        if (this.consumerSystemUsage == null) {
             if (splitSystemUsageForProducersConsumers) {
-                this.consumerSystemUsaage = new SystemUsage(getSystemUsage(), 
"Consumer");
+                this.consumerSystemUsage = new SystemUsage(getSystemUsage(), 
"Consumer");
                 float portion = consumerSystemUsagePortion / 100f;
-                
this.consumerSystemUsaage.getMemoryUsage().setUsagePortion(portion);
-                addService(this.consumerSystemUsaage);
+                
this.consumerSystemUsage.getMemoryUsage().setUsagePortion(portion);
+                addService(this.consumerSystemUsage);
             } else {
-                consumerSystemUsaage = getSystemUsage();
+                consumerSystemUsage = getSystemUsage();
             }
         }
-        return this.consumerSystemUsaage;
+        return this.consumerSystemUsage;
     }
 
     /**
-     * @param consumerSystemUsaage
+     * @param consumerSystemUsage
      *            the storeSystemUsage to set
      */
-    public void setConsumerSystemUsage(SystemUsage consumerSystemUsaage) {
-        if (this.consumerSystemUsaage != null) {
-            removeService(this.consumerSystemUsaage);
+    public void setConsumerSystemUsage(SystemUsage consumerSystemUsage) {
+        if (this.consumerSystemUsage != null) {
+            removeService(this.consumerSystemUsage);
         }
-        this.consumerSystemUsaage = consumerSystemUsaage;
-        addService(this.consumerSystemUsaage);
+        this.consumerSystemUsage = consumerSystemUsage;
+        addService(this.consumerSystemUsage);
     }
 
     /**

Reply via email to