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-text.git
The following commit(s) were added to refs/heads/master by this push:
new 82ec3722 Bump SpotBugs from 4.8.3 to 4.8.5
82ec3722 is described below
commit 82ec3722b1161cfdc7ccb0c2a6c93f037e29cf9e
Author: Gary Gregory <[email protected]>
AuthorDate: Mon May 6 10:08:01 2024 -0400
Bump SpotBugs from 4.8.3 to 4.8.5
- Fixes https://github.com/spotbugs/spotbugs/issues/2710
- Doesn't fix https://github.com/spotbugs/spotbugs/issues/2710
---
pom.xml | 3 +--
src/changes/changes.xml | 1 +
src/conf/spotbugs-exclude-filter.xml | 10 ++++++++++
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index cf1936e6..1523fb5e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,9 +78,8 @@
<commons.jacoco.branchRatio>0.95</commons.jacoco.branchRatio>
<commons.jacoco.complexityRatio>0.94</commons.jacoco.complexityRatio>
<commons.jacoco.lineRatio>0.98</commons.jacoco.lineRatio>
-
<!-- Java 23: Temp until next parent POM -->
- <commons.spotbugs.impl.version>4.8.3</commons.spotbugs.impl.version>
+ <commons.spotbugs.impl.version>4.8.5</commons.spotbugs.impl.version>
</properties>
<dependencies>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 4afd0be8..f6c62596 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -64,6 +64,7 @@ The <action> type attribute can be add,update,fix,remove.
<!-- UPDATE -->
<action type="udpate" dev="ggregory" due-to="Gary Gregory">Bump tests on
Java >= 22 org.graalvm.*:* from 24.0.0 to 24.0.1.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump
commons.bytebuddy.version from 1.14.13 to 1.14.14.</action>
+ <action type="update" dev="ggregory" due-to="Gary Gregory">Bump SpotBugs
from 4.8.3 to 4.8.5.</action>
</release>
<release version="1.12.0" date="2024-04-13" description="Release 1.12.0.
Requires Java 8 or above.">
<!-- ADD -->
diff --git a/src/conf/spotbugs-exclude-filter.xml
b/src/conf/spotbugs-exclude-filter.xml
index a06d9fff..21131a04 100644
--- a/src/conf/spotbugs-exclude-filter.xml
+++ b/src/conf/spotbugs-exclude-filter.xml
@@ -61,5 +61,15 @@
<Match>
<Class name="~.*" />
<Bug pattern="CT_CONSTRUCTOR_THROW" />
+ </Match>
+ <!-- Can't make ctor private until next major release -->
+ <Match>
+ <Class
name="org.apache.commons.text.similarity.LevenshteinDetailedDistance" />
+ <Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR" />
+ </Match>
+ <!-- Can't make ctor private until next major release -->
+ <Match>
+ <Class name="org.apache.commons.text.similarity.LevenshteinDistance" />
+ <Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR" />
</Match>
</FindBugsFilter>