You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/12/23 20:16:55 UTC
(commons-imaging) 08/08: Remove obsolete SpotBugs exclusions
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git
commit cf67360ed5287b306d9c104dbe459bb840cb4b74
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Dec 23 14:51:52 2023 -0500
Remove obsolete SpotBugs exclusions
---
src/conf/spotbugs-exclude-filter.xml | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/conf/spotbugs-exclude-filter.xml b/src/conf/spotbugs-exclude-filter.xml
index b522e4c4..ebefe41f 100644
--- a/src/conf/spotbugs-exclude-filter.xml
+++ b/src/conf/spotbugs-exclude-filter.xml
@@ -163,11 +163,6 @@
<Method name="setOutputSet" />
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
- <!-- Reason: For code clarity, we could use a simple 'else', but instead keep a complete expression -->
- <Match>
- <Class name="org.apache.commons.imaging.formats.pnm.PnmImageParser" />
- <Bug pattern="UC_USELESS_CONDITION" />
- </Match>
<Match>
<Class name="org.apache.commons.imaging.formats.webp.WebPImageMetadata" />
<Method name="getExif" />