<?xml version="1.0" encoding="utf-8"?>
<FindBugsFilter>
  <Match>
    <Or>
      <Bug pattern="EI_EXPOSE_REP"/>
      <Bug pattern="EI_EXPOSE_REP2"/>
      <Bug pattern="MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR"/>
      <Bug pattern="MS_EXPOSE_REP"/>
    </Or>
  </Match>
  <Match>
    <Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR"/>
  </Match>
  <Match>
    <Class name="org.apache.xmlgraphics.image.codec.tiff.TIFFEncodeParam"/>
    <Field name="extraFields"/>
    <Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED"/>
  </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.fonts.Glyphs"/>
     <Bug pattern="MS_MUTABLE_ARRAY"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.png.PNGImage"/>
     <Bug pattern="SF_SWITCH_NO_DEFAULT"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.png.PNGImageEncoder"/>
     <Bug pattern="SF_SWITCH_NO_DEFAULT"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.png.PNGRed"/>
     <Bug pattern="SF_SWITCH_NO_DEFAULT"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.util.SeekableStream"/>
     <Bug pattern="SR_NOT_CHECKED"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.tiff.TIFFDirectory"/>
     <Bug pattern="SR_NOT_CHECKED"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.tiff.TIFFEncodeParam"/>
     <Bug pattern="SE_BAD_FIELD"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.tiff.TIFFFaxDecoder"/>
     <Field name="data"/>
     <Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.tiff.TIFFLZWDecoder"/>
     <Field name="uncompData"/>
     <Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.loader.impl.ImageConverterBitmap2G2D$Graphics2DImagePainterImpl"/>
     <Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.java2d.ps.PSTilingPattern"/>
     <Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
   </Match>   
   <Match>
     <Class name="org.apache.xmlgraphics.ps.PSImageUtils"/>
     <Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.java2d.color.ColorUtil"/>
     <Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
   </Match>  
   <Match>
     <Class name="org.apache.xmlgraphics.java2d.color.DeviceCMYKColorSpace"/>
     <Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.java2d.ps.AbstractPSDocumentGraphics2D"/>
     <Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
   </Match>     
   <Match>
     <Class name="org.apache.xmlgraphics.java2d.ps.PSTilingPattern"/>
     <Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.ps.PSState"/>
     <Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
   </Match>    
   <Match>
     <Class name="org.apache.xmlgraphics.java2d.color.NamedColorSpace"/>
     <Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
   </Match>       
   <Match>
     <Class name="org.apache.xmlgraphics.util.Service"/>
     <Bug pattern="DE_MIGHT_IGNORE"/>
   </Match> 
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.util.SimpleRenderedImage"/>
     <Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAYS"/>
   </Match>    
   <Match>
     <Class name="org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry"/>
     <Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAYS"/>
   </Match>    
   <Match>
     <Class name="org.apache.xmlgraphics.xmp.XMPSchemaAdapter"/>
     <Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAYS"/>
   </Match>    
   <Match>
     <Class name="org.apache.xmlgraphics.util.Service"/>
     <Bug pattern="REC_CATCH_EXCEPTION"/>
   </Match>    
   <Match>
     <Class name="org.apache.xmlgraphics.java2d.GraphicContext"/>
     <Bug pattern="CN_IDIOM_NO_SUPER_CALL"/>
   </Match>       
   <Match>
     <Class name="org.apache.xmlgraphics.image.loader.impl.ImageLoaderEPS"/>
     <Bug pattern="SR_NOT_CHECKED"/>
   </Match> 
   <Match>
     <Class name="org.apache.xmlgraphics.image.loader.impl.JPEGFile"/>
     <Bug pattern="SR_NOT_CHECKED"/>
   </Match> 
   <Match>
     <Class name="org.apache.xmlgraphics.image.loader.util.ImageUtil"/>
     <Bug pattern="RR_NOT_CHECKED"/>
   </Match> 
   <Match>
     <Class name="org.apache.xmlgraphics.java2d.color.profile.NamedColorProfileParser"/>
     <Bug pattern="SR_NOT_CHECKED"/>
   </Match> 
   <Match>
     <Class name="org.apache.xmlgraphics.java2d.color.profile.NamedColorProfileParser"/>
     <Bug pattern="SR_NOT_CHECKED"/>
   </Match> 
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.tiff.TIFFField"/>
     <Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS"/>
   </Match> 
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.util.FileCacheSeekableStream"/>
     <Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.java2d.color.ColorWithAlternatives"/>
   </Match> 
   <Match>
     <Class name="org.apache.xmlgraphics.ps.PSPageDeviceDictionary"/>
   </Match> 
   <Match>
     <Class name="org.apache.xmlgraphics.ps.PSProcSet"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.tiff.TIFFImage"/>
   </Match>   
   <Match>
     <Class name="org.apache.xmlgraphics.io.XmlSourceUtil"/>
     <Bug pattern="REC_CATCH_EXCEPTION"/>
   </Match> 
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.tiff.TIFFImage"/>
     <Bug pattern="SF_SWITCH_NO_DEFAULT"/>
   </Match> 
   <Match>
     <Class name="org.apache.xmlgraphics.util.io.ASCII85Constants"/>
     <Bug pattern="MS_OOI_PKGPROTECT"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.loader.spi.ImageImplRegistry"/>
     <Bug pattern="IS2_INCONSISTENT_SYNC"/>
   </Match>
   <Match>
       <Class name="org.apache.xmlgraphics.image.writer.imageio.ImageIOImageWriter"/>
     <!-- <Bug pattern="NM_VERY_CONFUSING"/> -->
   </Match>
   <Match>
       <Class name="org.apache.xmlgraphics.image.loader.ImageFlavor"/>
     <!-- <Bug pattern="NM_VERY_CONFUSING"/> -->
   </Match>   
   <Match>
     <Class name="org.apache.xmlgraphics.fonts.Glyphs"/>
     <Bug pattern="MS_PKGPROTECT"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.ps.PSGenerator"/>
     <Bug pattern="FE_FLOATING_POINT_EQUALITY"/>
   </Match>
   <Match>
     <Class name="org.apache.xmlgraphics.image.codec.tiff.ImageInfo"/>
     <Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAYS"/>
   </Match>   
   
</FindBugsFilter>
