Java – is there a way to force checkstyle to ignore specific warnings in the source code?
•
Java
See the English answer > how to disable a particular checkstyle rule for a particular line of code? 5
Does checkstyle have a similar choice?
Solution
Yes, look at the options of suppressioncommentfilter and suppresswithnearbycommentfilter
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码