This week we've released SpotBugs v4.0.0.
我们已经花了大约一年的时间来交付此稳定版本,但是,此版本的重大更改较少. We removed only unused features based on this investigation. 希望您能以更少的迁移成本享受新版本.
Note that default detectors in this version still has some problems around Java 9+, check related issues if you run SpotBugs for projects using Java 11, 14 or later. To avoid this problem, you can limit activated detectors by command line option.
We also provide the official migration guide. 如果您是SpotBugs插件作者,请进行检查以简化迁移.
BTW if you're using IntelliJ IDEA, watch this issue and contribute to help the SpotBugs-IDEA project. 我不是它的成员,但看起来很酷.
And if you're using Gradle, watch this issue and help us to verify the experimental implementation. 当前的实现有很多问题,很难逐步解决,所以我从头开始了这个项目. It seems working and keep most of API, but we still need your contribution especially from Android project developers.
from: https://dev.to//kengotoda/spotbugs-v4-0-0-is-out-32ej