activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject [07/10] git commit: AMQ-4819: Fixed spelling.
Date Tue, 11 Mar 2014 23:29:33 GMT
AMQ-4819: Fixed spelling.


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

Branch: refs/heads/activemq-5.9
Commit: dad7dde60f17b3a7b7cd59b4148075862cb9ac67
Parents: 3c8651e
Author: Claus Ibsen <claus.ibsen@gmail.com>
Authored: Tue Oct 22 15:10:45 2013 +0200
Committer: Hadrian Zbarcea <hadrian@apache.org>
Committed: Tue Mar 11 17:05:51 2014 -0400

----------------------------------------------------------------------
 .../org/apache/activemq/broker/BrokerService.java     | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/dad7dde6/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java
----------------------------------------------------------------------
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 07295c4..93ca692 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
@@ -1890,8 +1890,8 @@ public class BrokerService implements Service {
         if (memLimit > jvmLimit) {
             usage.getMemoryUsage().setPercentOfJvmHeap(70);
             LOG.error("Memory Usage for the Broker (" + memLimit / (1024 * 1024) +
-                      " mb) is more than the maximum available for the JVM: " +
-                      jvmLimit / (1024 * 1024) + " mb - resetting to 70% of maximum available:
" + (usage.getMemoryUsage().getLimit() / (1024 * 1024)) + " mb");
+                    " mb) is more than the maximum available for the JVM: " +
+                    jvmLimit / (1024 * 1024) + " mb - resetting to 70% of maximum available:
" + (usage.getMemoryUsage().getLimit() / (1024 * 1024)) + " mb");
         }
 
         if (getPersistenceAdapter() != null) {
@@ -1950,8 +1950,8 @@ public class BrokerService implements Service {
             long dirFreeSpace = tmpDir.getUsableSpace();
             if (storeLimit > dirFreeSpace) {
                 LOG.error("Temporary Store limit is " + storeLimit / (1024 * 1024) +
-                          " mb, whilst the temporary data directory: " + tmpDirPath +
-                          " only has " + dirFreeSpace / (1024 * 1024) + " mb of usable space
- resetting to maximum available " +
+                        " mb, whilst the temporary data directory: " + tmpDirPath +
+                        " only has " + dirFreeSpace / (1024 * 1024) + " mb of usable space
- resetting to maximum available " +
                         dirFreeSpace / (1024 * 1024) + " mb.");
                 usage.getTempUsage().setLimit(dirFreeSpace);
             }
@@ -1988,10 +1988,10 @@ public class BrokerService implements Service {
                 while (schedulerDir != null && !schedulerDir.isDirectory()) {
                     schedulerDir = schedulerDir.getParentFile();
                 }
-                long schedularLimit = usage.getJobSchedulerUsage().getLimit();
+                long schedulerLimit = usage.getJobSchedulerUsage().getLimit();
                 long dirFreeSpace = schedulerDir.getUsableSpace();
-                if (schedularLimit > dirFreeSpace) {
-                    LOG.warn("Job Schedular Store limit is " + schedularLimit / (1024 * 1024)
+
+                if (schedulerLimit > dirFreeSpace) {
+                    LOG.warn("Job Scheduler Store limit is " + schedulerLimit / (1024 * 1024)
+
                              " mb, whilst the data directory: " + schedulerDir.getAbsolutePath()
+
                              " only has " + dirFreeSpace / (1024 * 1024) + " mb of usable
space - resetting to " +
                             dirFreeSpace / (1024 * 1024) + " mb.");


Mime
View raw message