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-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new d63997f28 FastDateParser parses 'Y' (week year) as plain calendar 
year; asymmetric with FastDatePrinter and with SimpleDateFormat; boundary dates 
shift by a full year, silently (f002).
d63997f28 is described below

commit d63997f289eb6fe11483538afb5d546c76c896b9
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Sep 4 21:38:52 2026 -0400

    FastDateParser parses 'Y' (week year) as plain calendar year; asymmetric
    with FastDatePrinter and with SimpleDateFormat; boundary dates shift by
    a full year, silently (f002).
---
 src/conf/spotbugs-exclude-filter-java8-sb-4.8.6.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/conf/spotbugs-exclude-filter-java8-sb-4.8.6.xml 
b/src/conf/spotbugs-exclude-filter-java8-sb-4.8.6.xml
index 8c4cb6c3c..4c5e83236 100644
--- a/src/conf/spotbugs-exclude-filter-java8-sb-4.8.6.xml
+++ b/src/conf/spotbugs-exclude-filter-java8-sb-4.8.6.xml
@@ -181,6 +181,11 @@
     </Or>
     <Bug pattern="SF_SWITCH_NO_DEFAULT" />
   </Match>
+  <Match>
+    <!-- equals/hashCode is never used -->
+    <Class 
name="org.apache.commons.lang3.time.FastDateParser$WeekDateRecorder"/>
+    <Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS" />
+  </Match>
 
   <!-- Reason: FindBugs cannot correctly recognize default branches in switch 
statements without break statements.
    See, e.g., the report at https://sourceforge.net/p/findbugs/bugs/1298 -->

Reply via email to