I am getting a compile error when I use the variable name ‘tmp_Surname’ in a Java transformation (based on the simple lookup example). When I change the name to tmpSurname, everything compiles and runs fine.
Any idea why that would be? Is this something to do with Java, or is it just within Clover? I used ‘_’ in another variable name and it didn’t cause any problems.
Thanks,
Shane
Could you show your transformation function code? I tried to have such variable and there wasn’t any problem.
After I posted the message I made some other changes to the code and have since not been able to reproduce the error. I thought it was very odd.
At the time I was resolved it, I just copied the code to a text editor and did a replace all on the variable name and it compiled. I even replaced it back with the ‘_’ character and it failed to compile. A very strange error indeed. Even stranger that I now cannot reproduce it.
Sorry, I should have saved the code off… I will be sure to next time.
Thanks,
Shane