Skip to content

Commit

Permalink
Use Class, Field, and Method in spotbugs exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Feb 10, 2023
1 parent 0b32055 commit e42bc19
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions src/spotbugs/excludesFilter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,18 @@
exclusion from this section.
-->
<Match>
<Or>
<And>
<Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED"/>
<Class name="org.jenkinsci.plugins.GitLabAuthenticationToken.gitLabAPI"/>
</And>
<And>
<Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED"/>
<Class name="org.jenkinsci.plugins.GitLabAuthenticationToken.me"/>
</And>
<And>
<Bug pattern="DM_CONVERT_CASE"/>
<Class name="org.jenkinsci.plugins.GitLabSecurityRealm$ConverterImpl.setValue"/>
</And>

</Or>
<Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED"/>
<Class name="org.jenkinsci.plugins.GitLabAuthenticationToken"/>
<Field name="gitLabAPI"/>
</Match>
</FindBugsFilter>
<Match>
<Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED"/>
<Class name="org.jenkinsci.plugins.GitLabAuthenticationToken"/>
<Field name="me"/>
</Match>
<Match>
<Bug pattern="DM_CONVERT_CASE"/>
<Class name="org.jenkinsci.plugins.GitLabSecurityRealm$ConverterImpl"/>
<Method name="setValue"/>
</Match>
</FindBugsFilter>

0 comments on commit e42bc19

Please sign in to comment.