findbugs-exclude.xml
918 Bytes
<FindBugsFilter>
<!--
@EJB annotated fields should not be transient, but they are detected as
non-serializable instance fields in serializable class (SE_BAD_FIELD)
See https://stackoverflow.com/questions/13700306/best-practice-for-serialization-for-ejb-and-cdi-beans
-->
<Match>
<Class name="~fi\.codecrew\.moya\.web\..*"/>
<!-- We assume that most field names contain the string 'Bean'-->
<Field name="~.*[Bb]ean.*"/>
<Bug pattern="SE_BAD_FIELD"/>
</Match>
<Match>
<Class name="fi.codecrew.moya.handler.SessionStore" />
<Field name="~.*[Bb]ean.*"/>
<Bug pattern="SE_BAD_FIELD"/>
</Match>
<Match>
<Class name="fi.codecrew.moyamgmt.handler.SessionStore" />
<Field name="~.*[Bb]ean.*"/>
<Bug pattern="SE_BAD_FIELD"/>
</Match>
<!--Do not try to check the autogenerated model files ending in: '_' -->
<Match>
<Class name="~fi\.codecrew\.moya\.model\..*_"/>
</Match>
</FindBugsFilter>