Ignore existing InterfaceIsType violations

Add suppressions for existing `InterfaceIsType` violations. Ideally
theses should be classes, but we can't easily change them without
breaking binary back compatibility.

Issue gh-8945
This commit is contained in:
Phillip Webb 2020-07-26 22:23:37 -07:00 committed by Rob Winch
parent 3e700e7571
commit 4075595a3f
1 changed files with 14 additions and 1 deletions

View File

@ -3,7 +3,6 @@
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress files=".*" checks="InterfaceIsType" />
<suppress files=".*" checks="JavadocMethod" />
<suppress files=".*" checks="JavadocStyle" />
<suppress files=".*" checks="JavadocTagContinuationIndentation" />
@ -38,4 +37,18 @@
<!-- Ignore third-party code -->
<suppress files="BCrypt\.java|BCryptTests\.java" checks=".*"/>
<suppress files="org[\\/]springframework[\\/]security[\\/]core[\\/]ComparableVersion\.java" checks=".*"/>
<!-- InterfaceIsType rules we can't fix until a major revision due to back compatibility -->
<suppress files="JwsAlgorithms\.java" checks="InterfaceIsType"/>
<suppress files="JwtClaimNames\.java" checks="InterfaceIsType"/>
<suppress files="OAuth2ErrorCodes\.java" checks="InterfaceIsType"/>
<suppress files="OAuth2ParameterNames\.java" checks="InterfaceIsType"/>
<suppress files="PkceParameterNames\.java" checks="InterfaceIsType"/>
<suppress files="IdTokenClaimNames\.java" checks="InterfaceIsType"/>
<suppress files="OidcScopes\.java" checks="InterfaceIsType"/>
<suppress files="StandardClaimNames\.java" checks="InterfaceIsType"/>
<suppress files="OidcParameterNames\.java" checks="InterfaceIsType"/>
<suppress files="BearerTokenErrorCodes\.java" checks="InterfaceIsType"/>
<suppress files="OAuth2IntrospectionClaimNames\.java" checks="InterfaceIsType"/>
<suppress files="Saml2ErrorCodes\.java" checks="InterfaceIsType"/>
</suppressions>