remove unused imports intellij

Java
Ctrl+Alt+O
Source

Also in Java: