Optimize imports
Remove unused imports from your code
Optimize Imports using the shortcut ⌃⌥O (macOS) / Ctrl+Alt+O (Windows/Linux), or configure IntelliJ IDEA to Optimize imports on commit, or even on the fly by enabling Optimize imports on the fly.