Enable @surpressWarnings for Checkstyle 94/128194/1 jakarta
authorToineSiebelink <toine.siebelink@est.tech>
Wed, 30 Mar 2022 08:56:24 +0000 (09:56 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Wed, 30 Mar 2022 10:29:13 +0000 (11:29 +0100)
commitf95bafef87324b634305e1b98cf17838aa998d26
treeda4b0523c69f0e365c5a4fdb44da12adfe5fdb5c
parentfff3e78397f8d50d8dfd1d23365b0ccbff71a848
Enable @surpressWarnings for Checkstyle

Documentation is a bit ambigous but below changes should enable
@SupressWarnings (in source code) for checkstyle rules
we have some false positives from Checkstyle we want to supress this way
e.g. https://tinyurl.com/4b527vvr lines 258/259; checkstyle forced us
to add those lines, instead I want to supress the warning on this method
using annotation like @supresswraning(checkstyle:missingSwitchDefault))

Issue-ID: CPS-475
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I07f865a279b4951f2ce3240fedcec6b5c46933e0
checkstyle/src/main/resources/onap-checkstyle/onap-java-style.xml