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

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Dec 18 15:02:00 EST 2008


Author: tirelli
Date: 2008-12-18 15:01:59 -0500 (Thu, 18 Dec 2008)
New Revision: 24429

Modified:
   labs/jbossrules/trunk/drools-core/src/main/java/org/drools/base/evaluators/AfterEvaluatorDefinition.java
Log:
Fixing test

Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/base/evaluators/AfterEvaluatorDefinition.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/base/evaluators/AfterEvaluatorDefinition.java	2008-12-18 19:50:37 UTC (rev 24428)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/base/evaluators/AfterEvaluatorDefinition.java	2008-12-18 20:01:59 UTC (rev 24429)
@@ -349,7 +349,7 @@
                     leftTS = ((LongVariableContextEntry) context).left;
                 }
             } else {
-                leftTS = ((EventFactHandle) ((ObjectVariableContextEntry) context).left).getStartTimestamp();
+                leftTS = ((EventFactHandle) ((ObjectVariableContextEntry) context).left).getEndTimestamp();
             }
             long dist = rightTS - leftTS;
 




More information about the jboss-svn-commits mailing list