<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1586" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=020062320-18042007><FONT face=Arial size=2>I'm doing some 
simple evaluation of jrules and I ran into a problem.&nbsp; Here's the rule I'm 
having problems with:</FONT></SPAN></DIV>
<DIV><SPAN class=020062320-18042007><B><FONT color=#960000><FONT 
size=2></FONT></FONT></B></SPAN>&nbsp;</DIV>
<DIV><SPAN class=020062320-18042007><B><FONT color=#960000><FONT face=Arial 
size=2>rule</FONT></B></FONT><FONT size=2><FONT face=Arial> </FONT><FONT 
color=#008000><FONT face=Arial>"751845 - Check Stages"</FONT></DIV>
<DIV></FONT></FONT>
<P align=left><FONT face=Arial></FONT></P>
<P align=left><B><FONT color=#960000><FONT size=2><FONT face=Arial><SPAN 
class=020062320-18042007>&nbsp;&nbsp;&nbsp; 
</SPAN>when</FONT></FONT></FONT></P></B>
<P align=left><FONT size=2><FONT face=Arial><SPAN 
class=020062320-18042007>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>order 
: Order( stages excludes <FONT color=#008000>921</FONT> )</FONT></FONT></P>
<P align=left><B><FONT color=#960000><FONT size=2><FONT face=Arial><SPAN 
class=020062320-18042007>&nbsp;&nbsp;&nbsp; 
t</SPAN>hen</FONT></FONT></FONT></P></B>
<P align=left><FONT size=2><FONT face=Arial><SPAN 
class=020062320-18042007>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>System.out.println( <FONT color=#008000>"This order contains "</FONT> + 
order.getStages() );</FONT></FONT></P>
<P><FONT face=Arial size=2></FONT><FONT face=Arial color=#960000 
size=2><STRONG>end</STRONG></FONT></P>
<P><SPAN class=020062320-18042007><FONT face=Arial color=#960000 
size=2>OUTPUT:</FONT></SPAN></P><SPAN class=020062320-18042007>
<P><FONT face=Arial size=2>This order contains [804, 921]</FONT></P>
<P><SPAN class=020062320-18042007><FONT face=Arial size=2>I'm actually trying to 
do the opposite using 'stages contains 921'.&nbsp; stages is defined as follows 
in the Order object.</FONT></SPAN></P><SPAN class=020062320-18042007><FONT 
size=2><FONT color=#7f0055 size=2>
<P><FONT face=Arial>private</FONT></FONT><FONT face=Arial><FONT size=2> 
ArrayList&lt;Integer&gt; </FONT><FONT color=#0000c0 size=2>stages</FONT><FONT 
size=2>;</P></FONT></FONT></FONT></SPAN>
<P><SPAN class=020062320-18042007><FONT face=Arial size=2>I'm using the 3.0.6 
binaries on W2K&nbsp;w/Eclipse.</FONT></SPAN></P>
<P><SPAN class=020062320-18042007><SPAN class=020062320-18042007><FONT 
face=Arial size=2>Any ideas what I'm doing wrong here?</FONT></SPAN></SPAN></P>
<P><FONT face=Arial size=2></FONT>&nbsp;</P></SPAN></SPAN></DIV></BODY></HTML>