Hi !<br><br>I have a problem with functions in Drools file.<br>In a drl file, I defined a function, but a parameter of this function must be "final". And the drl file don't compile...<br>this is my code : <br>
<br>[CODE]<br>function void changeName(final JOnAS jonas, Integer first)<br>{<br>....<br>}<br><br>[\CODE]<br><br><br>And this is the error : <br><br>Syntax error on token "final", invalid Type<br><br>Is it possible to have a final variable as parameter in a function ?<br>
Can you help me ?!<br><br>Thanks !<br><br>Cheers<br><br>Guillaume<br><br><br>