It seems this command does not skip comment areas. 

I got an "Avoid unused imports such as 'xyz" from a PMD report and when I used 
jde-import-kill-extra-imports to remove them, it didn't remove anything. Turns 
out that the imported class name was in one of my comments. I removed it and 
jde-import-kill-extra-imports worked fine.

Thanks,
  Nascif

Reply via email to