[hornetq-commits] JBoss hornetq SVN: r11146 - branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/management/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Aug 8 11:45:41 EDT 2011


Author: clebert.suconic at jboss.com
Date: 2011-08-08 11:45:41 -0400 (Mon, 08 Aug 2011)
New Revision: 11146

Modified:
   branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/management/impl/HornetQServerControlImpl.java
Log:
change requested

Modified: branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/management/impl/HornetQServerControlImpl.java
===================================================================
--- branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/management/impl/HornetQServerControlImpl.java	2011-08-08 07:47:16 UTC (rev 11145)
+++ branches/Branch_2_2_EAP_cluster_clean2/src/main/org/hornetq/core/management/impl/HornetQServerControlImpl.java	2011-08-08 15:45:41 UTC (rev 11146)
@@ -1522,7 +1522,8 @@
    {
       checkStarted();
 
-      if (pageSizeBytes >= maxSizeBytes)
+      // JBPAPP-6334 requested this to be pageSizeBytes > maxSizeBytes
+      if (pageSizeBytes > maxSizeBytes)
       {
          throw new IllegalStateException("pageSize has to be lower than maxSizeBytes. Invalid argument (" + pageSizeBytes + " < " + maxSizeBytes + ")");
       }



More information about the hornetq-commits mailing list