You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2021/11/20 00:01:14 UTC

[commons-text] branch master updated (4f1d23a -> a48e698)

This is an automated email from the ASF dual-hosted git repository.

kinow pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git.


    from 4f1d23a  Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.0.0
     new 2f59a29  Bump spotbugs from 4.4.2 to 4.5.0
     new a48e698  Prevent build failure due to DCN_NULLPOINTER_EXCEPTION (code suppressed is expected to catch null)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                     |  2 +-
 spotbugs-exclude-filter.xml | 11 +++++++++++
 src/changes/changes.xml     |  2 +-
 3 files changed, 13 insertions(+), 2 deletions(-)

[commons-text] 01/02: Bump spotbugs from 4.4.2 to 4.5.0

Posted by ki...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git

commit 2f59a29c0e67c59cca755238968ff12fa8634199
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Fri Nov 19 23:28:42 2021 +0000

    Bump spotbugs from 4.4.2 to 4.5.0
    
    Bumps [spotbugs](https://github.com/spotbugs/spotbugs) from 4.4.2 to 4.5.0.
    - [Release notes](https://github.com/spotbugs/spotbugs/releases)
    - [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/spotbugs/spotbugs/compare/4.4.2...4.5.0)
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs:spotbugs
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
---
 pom.xml                 | 2 +-
 src/changes/changes.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 11f2933..5afb856 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,7 +51,7 @@
     <checkstyle.version>9.1</checkstyle.version>
 
     <spotbugs.plugin.version>4.5.0.0</spotbugs.plugin.version>
-    <spotbugs.impl.version>4.4.2</spotbugs.impl.version>
+    <spotbugs.impl.version>4.5.0</spotbugs.impl.version>
 
     <commons.mockito.version>4.1.0</commons.mockito.version>
     <commons.jacoco.version>0.8.7</commons.jacoco.version>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 51286b2..edfb9c3 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -83,7 +83,7 @@ The <action> type attribute can be add,update,fix,remove.
     <action                  type="update" dev="ggregory" due-to="Dependabot">Bump graalvm.version from 20.2.0 to 21.3.0 #185 #198 #206 #227 #252 #276.</action>
     <action                  type="update" dev="ggregory" due-to="Gary Gregory">Update commons.japicmp.version 0.14.3 -> 0.15.3.</action>
     <action                  type="update" dev="ggregory" due-to="Gary Gregory">Update commons.jacoco.version 0.8.5 to 0.8.7; fixes Java 15 build.</action>
-    <action                  type="update" dev="ggregory" due-to="Gary Gregory">Update spotbugs from 4.1.3 to 4.4.2 #175, 189, #209 #218 #247 #256 #264 #275.</action>
+    <action                  type="update" dev="ggregory" due-to="Gary Gregory">Update spotbugs from 4.1.3 to 4.5.0 #175, 189, #209, #218, #247, #256, #264, #275, #284.</action>
     <action                  type="update" dev="kinow" due-to="Dependabot">Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2 #202.</action>
     <action                  type="update" dev="kinow" due-to="Dependabot">Bump actions/cache from v2 to v2.1.6 #205 #217 #234.</action>
     <action                  type="update" dev="ggregory" due-to="Gary Gregory">Update commons-lang3 3.11 -> 3.12.0.</action>

[commons-text] 02/02: Prevent build failure due to DCN_NULLPOINTER_EXCEPTION (code suppressed is expected to catch null)

Posted by ki...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git

commit a48e698aa7a7fe5d37938debb13a0c78e6309549
Author: Bruno P. Kinoshita <ki...@users.noreply.github.com>
AuthorDate: Sat Nov 20 12:50:02 2021 +1300

    Prevent build failure due to DCN_NULLPOINTER_EXCEPTION (code suppressed is expected to catch null)
---
 spotbugs-exclude-filter.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/spotbugs-exclude-filter.xml b/spotbugs-exclude-filter.xml
index 26a541e..4308a2b 100644
--- a/spotbugs-exclude-filter.xml
+++ b/spotbugs-exclude-filter.xml
@@ -41,4 +41,15 @@
     <Bug code="CN" />
   </Match>
 
+  <Match>
+    <Class name="org.apache.commons.text.lookup.BiFunctionStringLookup" />
+    <Method name="lookup" />
+    <Bug code="DCN_NULLPOINTER_EXCEPTION" />
+  </Match>
+
+  <Match>
+    <Class name="org.apache.commons.text.lookup.FunctionStringLookup" />
+    <Method name="lookup" />
+    <Bug code="DCN_NULLPOINTER_EXCEPTION" />
+  </Match>
 </FindBugsFilter>