[jboss-cvs] JBoss Messaging SVN: r5506 - trunk/src/main/org/jboss/messaging/core/server/impl.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Dec 10 10:58:26 EST 2008
Author: ataylor
Date: 2008-12-10 10:58:26 -0500 (Wed, 10 Dec 2008)
New Revision: 5506
Modified:
trunk/src/main/org/jboss/messaging/core/server/impl/QueueImpl.java
Log:
made getDeliveringCount synchronized.
Modified: trunk/src/main/org/jboss/messaging/core/server/impl/QueueImpl.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/server/impl/QueueImpl.java 2008-12-10 14:32:06 UTC (rev 5505)
+++ trunk/src/main/org/jboss/messaging/core/server/impl/QueueImpl.java 2008-12-10 15:58:26 UTC (rev 5506)
@@ -355,7 +355,7 @@
return scheduledDeliveryHandler.getScheduledReferences();
}
- public int getDeliveringCount()
+ public synchronized int getDeliveringCount()
{
return deliveringCount.get();
}
More information about the jboss-cvs-commits
mailing list