Thanks for your reply Vincent :)<div><br></div><div>Best regards,</div><div>Martin<br><br><div class="gmail_quote">On Tue, Jan 17, 2012 at 9:08 PM, Vincent Legendre <span dir="ltr"><<a href="mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ok, did not know that.<br>
If you use lists, you can use the 'contains' operator then, instead of<br>
your predicates (will be more efficient).<br>
<br>
But I think it is better to deal with Event objects (will be even more<br>
efficient, and far much extensible in the future when you will want to<br>
add more business logic, for example using fusion temporal operators ...).<br>
And may be that in fact, it is your GameStateController that should be a<br>
living ksession in where you post events ...<br>
<br>
<br>
Le 17/01/2012 19:58, Martin A a écrit :<br>
<div class="im HOEnZb">> Hi, Vincent,<br>
><br>
> No, it's actually a List<String> events that is a property of that<br>
> GameStateController, not Event objects.<br>
> Ok I will workaround it, but I guess it may be a bug, because I think<br>
> that varArgs feature was not supported in 5.2.1, and is something new...<br>
><br>
> Best regards,<br>
> Martin<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div>