Inspectopedia
 
2024.3

Unused import

Warning
Last modified: 03 December 2024

Reports redundant import statements.

Regular import statements are unnecessary when not using imported classes and packages in the source file. The same applies to imported static fields and methods that aren't used in the source file.

Example:

After the quick fix is applied: