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...
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