迁移 Sonarqube 以支持 Java 17
在扫描用 Java 17 LTS 编写的代码时,我遇到了一些不一致的警告和代码味道,以下是一些警告:
- 当我将类迁移到记录时,我看到我的导入在代码中标记为未使用(删除此未使用的导入 'java .util.List')
我想知道是否需要将sonarqube版本(目前,我的标签:8.9.5-developer)升级到版本9.3,这会保存我的 问题 ? 有人已经遇到过这些问题吗?
谢谢
I have some inconsistent warnings and code smells when scanning the code written with Java 17 LTS, below some warnings :
- When I migrate my classes to record, I see my imports tagged as unused within the code (Remove this unused import 'java.util.List')
I'm wondering if I need to upgrade the sonarqube version (currently, I'm in tag: 8.9.5-developer) to version 9.3, will this save my issues ?
Anyone have already faced these issues ?
Thanx
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论