Guillaume Soldera wrote:
Hi !
I have a problem with functions in Drools file.
In a drl file, I defined a function, but a parameter of this function
must be "final". And the drl file don't compile...
No the parser does
not support this.
this is my code :
[CODE]
function void changeName(final JOnAS jonas, Integer first)
{
....
}
[\CODE]
And this is the error :
Syntax error on token "final", invalid Type
Is it possible to have a final variable as parameter in a function ?
Can you help me ?!
Thanks !
Cheers
Guillaume
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users