Skip to content
Advertisement

Tag: pmd

How to suppress violations in PMD?

When I run a PMD analysis I receive violation: Each class should declare at least one constructor This violation is on a Spring controller. This controller is instantiated by Spring, so I shouldn’t need to invoke this class. What is recommended way of ignoring this violation? According to this doc can use //NOPMD but I just want to ignore specific

Advertisement