문제

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

도움이 되었습니까?

해결책

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.

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top