]> git.basschouten.com Git - openhab-addons.git/commitdiff
[checkstyle] Treat packages containing .dto. the same way as java classes ending...
authorChristoph Weitkamp <github@christophweitkamp.de>
Wed, 23 Dec 2020 03:18:25 +0000 (04:18 +0100)
committerGitHub <noreply@github.com>
Wed, 23 Dec 2020 03:18:25 +0000 (19:18 -0800)
* Treat packages containing .dto. the same way as java classes ending in DTO

Signed-off-by: Arne Seime <arne.seime@gmail.com>
Co-authored-by: Christoph Weitkamp <github@christophweitkamp.de>
tools/static-code-analysis/checkstyle/suppressions.xml

index 7800134b7abdaff89ec6d9bd3ca2934a42759822..e66b7af7cb9befe4797fa5cb53e064b8f71f13e5 100644 (file)
@@ -3,7 +3,8 @@
 <suppressions>
     <!-- These suppressions define which files to be suppressed for which checks. -->
     <suppress files=".+[\\/]internal[\\/].+\.java" checks="JavadocType|JavadocVariable|JavadocMethod|MissingJavadocFilterCheck"/>
-    <suppress files=".+DTO\.java" checks="JavadocType|JavadocVariable|JavadocMethod|MissingJavadocFilterCheck|NullAnnotationsCheck" />
+    <suppress files=".+DTO\.java" checks="JavadocType|JavadocVariable|JavadocMethod|MissingJavadocFilterCheck|NullAnnotationsCheck"/>
+    <suppress files=".+[\\/]dto[\\/].+\.java" checks="JavadocType|JavadocVariable|JavadocMethod|MissingJavadocFilterCheck|NullAnnotationsCheck"/>
     <suppress files=".+Impl\.java" checks="JavadocType|JavadocVariable|JavadocMethod|MissingJavadocFilterCheck"/>
 
     <!-- Homematic and Tellstick bindings are creating and configuring things dynamically, they will log false positives for unused configuration -->