问题如上,新项目导入之前工程的checkstyle无效
后来查询了一下checkstyle git上面的修复的一个问题,原因这个moudle没有生效,当做冗余代码删掉了,升级checkstyle到7.6版本后,需要把checkstyle 里面RedundantThrows 这一项去除掉,然后导入OK。
Fixes RedundantThrows inspection violations.
Description:
This inspection reports exceptions
that are declared in a method's signature but never
thrown by the method itself or its implementations/derivatives.