PMD and SonarQube a good collection though we have problems perplexing to
conceal PMD warnings.We use Lombok a lot in the project, so many of a
denote classes have a:@SuppressWarnings("PMD.UnusedPrivateField")as an
class-level annotations.This works fine.The problem is, that if we wan't
to replace one some-more rule, we would design a following
syntax:@SuppressWarnings(value = { "PMD.UnusedPrivateField",
"PMD.SingularField" })This looks like a repremand syntax, also reading a
doing of a PMD annotation.However, this seems not to works:None of a
manners are now suppressed.
No comments:
Post a Comment