If Optimize imports on the flyselected in the way you did, then unused imports must be deleted automatically if:
- the file is recognized as a java file (it is in the package under
Source Route.
and
- the file is somehow modified (press Enter on the black line anywhere in the file, this will lead to optimization of the import).
, ctrl + alt + O, (, svn).