[jboss-svn-commits] JBL Code SVN: r15781 - labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Oct 11 20:22:08 EDT 2007


Author: mark.proctor at jboss.com
Date: 2007-10-11 20:22:08 -0400 (Thu, 11 Oct 2007)
New Revision: 15781

Modified:
   labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/AgendaItem.java
Log:
JBRULES-1268 Activation.remove() is removing the WRONG activation when used in events
-the queue is set to null after dequeue

Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/AgendaItem.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/AgendaItem.java	2007-10-11 22:59:48 UTC (rev 15780)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/AgendaItem.java	2007-10-12 00:22:08 UTC (rev 15781)
@@ -222,6 +222,7 @@
         if ( this.queue != null ) {
             // will only be null if the AgendaGroup is locked when the activation add was attempted
             this.queue.dequeue( this.index );
+            this.queue = null;
         }
         this.activated = false;
     }




More information about the jboss-svn-commits mailing list