aboutsummaryrefslogtreecommitdiffstats
path: root/src/site
diff options
context:
space:
mode:
Diffstat (limited to 'src/site')
-rw-r--r--src/site/findbugs/exclude.xml38
1 files changed, 37 insertions, 1 deletions
diff --git a/src/site/findbugs/exclude.xml b/src/site/findbugs/exclude.xml
index 2824084..efa391c 100644
--- a/src/site/findbugs/exclude.xml
+++ b/src/site/findbugs/exclude.xml
@@ -1,5 +1,41 @@
<FindBugsFilter>
+
+ <!-- General stuff we don't care about -->
<Match>
- <Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2"/>
+ <Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2,ICAST_QUESTIONABLE_UNSIGNED_RIGHT_SHIFT"/>
</Match>
+
+ <!-- Convenience catch for a variety of exceptions -->
+ <Match>
+ <Class name="com.healthmarketscience.jackcess.DataType"/>
+ <Method name="addNewSqlType"/>
+ <Bug pattern="REC_CATCH_EXCEPTION"/>
+ </Match>
+
+ <!-- Debug code -->
+ <Match>
+ <Class name="com.healthmarketscience.jackcess.impl.ByteUtil"/>
+ <Method name="toHexFile"/>
+ <Bug pattern="DM_DEFAULT_ENCODING"/>
+ </Match>
+
+ <!-- Streams kept open on purpose -->
+ <Match>
+ <Class name="com.healthmarketscience.jackcess.util.OleBlob$Builder"/>
+ <Bug pattern="OBL_UNSATISFIED_OBLIGATION"/>
+ </Match>
+
+ <!-- Utility code which uses FileWriter/FileReader -->
+ <Match>
+ <Class name="com.healthmarketscience.jackcess.util.ImportUtil"/>
+ <Method name="importFile"/>
+ <Bug pattern="DM_DEFAULT_ENCODING"/>
+ </Match>
+ <Match>
+ <Class name="com.healthmarketscience.jackcess.util.ExportUtil"/>
+ <Method name="exportFile"/>
+ <Bug pattern="DM_DEFAULT_ENCODING"/>
+ </Match>
+
+
</FindBugsFilter>