codequality/findbugs-excludeFilter-GeneratedCode.xml (31 lines of code) (raw):
<FindBugsFilter>
<!-- EI_EXPOSE_REP: May expose internal representation by returning reference to mutable object -->
<!-- EI_EXPOSE_REP2: May expose internal representation by incorporating reference to mutable object -->
<Match>
<Or>
<Package name="~org\.smpte_ra\..*"/>
<Package name="org.w3._2000._09.xmldsig_"/>
</Or>
<Or>
<Bug pattern="EI_EXPOSE_REP" />
<Bug pattern="EI_EXPOSE_REP2" />
</Or>
</Match>
<!-- Storing a reference to an externally mutable object into the internal representation of the object. -->
<Match>
<Class name="com.netflix.imflibrary.st0377.RandomIndexPack" />
<Bug pattern="NP_ALWAYS_NULL" />
</Match>
<!-- Storing a reference to an externally mutable object into the internal representation of the object. -->
<Match>
<Class name="com.netflix.imflibrary.st0377.PartitionPack" />
<Bug pattern="NP_ALWAYS_NULL" />
</Match>
<!-- Storing a reference to an externally mutable object into the internal representation of the object. -->
<Match>
<Source name="Sequence.java" />
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE" />
</Match>
<!-- Storing a reference to an externally mutable object into the internal representation of the object. -->
<Match>
<Source name="ContentStorage.java" />
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE" />
</Match>
<!-- It should be possible to define a class that is tested but not fully used at this time -->
<Match>
<Bug pattern="URF_UNREAD_FIELD" />
</Match>
</FindBugsFilter>