Question

I have Jalopy 1.9.4 installed for eclipse (Indigo), jdk 1.5.

None of the options under jalopy's 'Java - Code generation' have been selected. This doesn't make any difference to jalopy. It inserts, for example, '@override' for methods and 'final' for variables wherever it sees necessary. I am not allowed to delete these inserted options. When I delete and save, they re-appear.

Any idea what's going wrong ?

thanks, Soumya

Was it helpful?

Solution

Are you positive that it is indeed Jalopy that inserts the elements? Maybe check your Eclipse code cleanup settings. Or uninstall Jalopy to make sure.

Do you use a single Jalopy profile? Or are there several profiles available? Maybe Jalopy is switching profiles on-the-fly and in one profile the code cleanup settings are different from those you expect. And make sure that no project specific settings are enabled.

OTHER TIPS

Could it be that Jalopy is configured to synchronise with a shared code convention? Check the settings below Eclipse->Jalopy->Synchronize

Why are you not allowed to remove the inserted elements? If your company wants them to be inserted and configured Jalopy accordingly, there is not much point to try and override company policies.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top