dfki-asr / compass

Collaborative Modular Prototyping And Simulation Server
Apache License 2.0
2 stars 0 forks source link

Annotation cleanup and PMD rules #2

Closed wherget closed 9 years ago

wherget commented 9 years ago

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.