Trägenap wrote:
Hi,
a) it is possible to use generics in function definition?
function doSomething(ArrayList<Customer> alCustomers) {
// do it
}
doesnt work, I always retrieve Function Compilation error.
"<" Character
no, we need to update the antlr parser to accept
generics in the
parameters. Or someone needs to submit a patch :)
b) it is possible to use for each loop in DRL?
for (Customer cust : alCustomers) {
// do something more
}
I´am using Janino to parse+compile.
Janino does not support generics, only JDT
does.
Thanks for advice.
Thorsten
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users