Skip to content
Merged
Prev Previous commit
Next Next commit
Use Class, Field, and Method in spotbugs exclusions
  • Loading branch information
MarkEWaite committed Feb 10, 2023
commit e42bc192edf2b5d2ccc518bf7ea84d66034a3f80
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>