java程序中“从未使用的导入”要不要清理,清理的理由是什么
闭关修行中......
I always use ctrl+shift+o
Unused imports have no impact on performance. For details, please refer to the Java Virtual Machine Specification
The reason why I clean up is because I feel unhappy when I see warnings and have obsessive-compulsive disorder tendencies.
It doesn’t matter, for the simplicity of code use ctrl + shit + o you can import necessary packages and delete unnecessary packages
ctrl + shit + o
I always use ctrl+shift+o
Unused imports have no impact on performance. For details, please refer to the Java Virtual Machine Specification
The reason why I clean up is because I feel unhappy when I see warnings and have obsessive-compulsive disorder tendencies.
It doesn’t matter, for the simplicity of code use
ctrl + shit + o
you can import necessary packages and delete unnecessary packages