Work around apparent Checkstyle bug re. JavaDoc in package-info.java 32/44632/3
authorMichael Vorburger <vorburger@redhat.com>
Wed, 24 Aug 2016 21:08:44 +0000 (23:08 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 27 Sep 2016 15:49:35 +0000 (15:49 +0000)
commit1b8e470e258b8add0a2dc77cbf7c8ac09fb7573e
tree243073a48fbc75d1797489aaa6f88761b204fe0a
parent5cf814103135126f84b69b1134daae0c0fc3330b
Work around apparent Checkstyle bug re. JavaDoc in package-info.java

We have earlier agreed to, and aligned our Checkstyle rules accordingly,
not enforce JavaDoc presence, just validate its content if it's present.
However, we are still enforcing every package-info.java (of which we
have almost none..) to have a JavaDoc.

While experimenting with plastering package-info.java into EVERY package
everywhere (to have an annotation @NonNullByDefault package in it..),
I don't want to put in bogus empty JavaDoc into every package just to
satisfy Checkstyle, that would be ridiculous.

Related to https://github.com/checkstyle/checkstyle/issues/3416

Change-Id: I397763f9e09bc7db009ade5da1a5b35bdc518169
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
checkstyle/src/main/resources/odl_checks.xml