While working on REST stuff, I was really annoyed by annotations with unnecessary value = "Foo" attributes (where "Foo" would have sufficed), so I wrote a PMD rule against that. A few other occurences turned up, which were subsequently fixed.
While fixing the Swagger annotations (which were the most frequent offenders) I stumbled across redundant response = declarations. Removing these gave a few more minimal "Foo"-type annotations. And a PMD rule to not repeat that again.
While working on REST stuff, I was really annoyed by annotations with unnecessary
value = "Foo"
attributes (where"Foo"
would have sufficed), so I wrote a PMD rule against that. A few other occurences turned up, which were subsequently fixed.While fixing the Swagger annotations (which were the most frequent offenders) I stumbled across redundant
response =
declarations. Removing these gave a few more minimal"Foo"
-type annotations. And a PMD rule to not repeat that again.