This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-validator.git
The following commit(s) were added to refs/heads/master by this push:
new 9813be31 Revert "Remove workaround for SB FP."
9813be31 is described below
commit 9813be31ed2e189f56b9ef8d5fa8670d34426f2b
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jun 20 20:41:04 2026 +0000
Revert "Remove workaround for SB FP."
This reverts commit 17e2e40dcd7b117bba0fff9d6056f158e0f48023.
---
src/conf/spotbugs-exclude-filter.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/conf/spotbugs-exclude-filter.xml
b/src/conf/spotbugs-exclude-filter.xml
index f0ac89f1..596f93b5 100644
--- a/src/conf/spotbugs-exclude-filter.xml
+++ b/src/conf/spotbugs-exclude-filter.xml
@@ -32,6 +32,12 @@
<Class name="~.*" />
<Bug pattern="EI_EXPOSE_REP2" />
</Match>
+ <!-- False positive?
+ High: Class org.apache.commons.validator.routines.CreditCardValidator$1
defines non-transient non-serializable instance field val$creditCardRanges
[org.apache.commons.validator.routines.CreditCardValidator$1] In
CreditCardValidator.java SE_BAD_FIELD -->
+ <Match>
+ <Class name="org.apache.commons.validator.routines.CreditCardValidator$1"
/>
+ <Bug pattern="SE_BAD_FIELD" />
+ </Match>
<Match>
<!-- Doesn't make sense and compatibility. -->
<Class name="~.*" />