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/19 23:48:26 UTC

[commons-text] branch dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.5.0.0 created (now ebf4a21)

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

kinow pushed a change to branch dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.5.0.0
in repository https://gitbox.apache.org/repos/asf/commons-text.git.


      at ebf4a21  Prevent build failure due to DCN_NULLPOINTER_EXCEPTION (code suppressed is expected to catch null)

This branch includes the following new commits:

     new ee074f8  Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.0.0
     new ebf4a21  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.


[commons-text] 01/02: Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.0.0

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

kinow pushed a commit to branch dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.5.0.0
in repository https://gitbox.apache.org/repos/asf/commons-text.git

commit ee074f8224cff13bc895090ef5a1011229b3243e
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Fri Nov 19 20:30:23 2021 +0000

    Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.0.0
    
    Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.4.2.2 to 4.5.0.0.
    - [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
    - [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.4.2.2...spotbugs-maven-plugin-4.5.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: com.github.spotbugs:spotbugs-maven-plugin
      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 | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index f4cf5a8..11f2933 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,7 +50,7 @@
     <checkstyle.plugin.version>3.1.2</checkstyle.plugin.version>
     <checkstyle.version>9.1</checkstyle.version>
 
-    <spotbugs.plugin.version>4.4.2.2</spotbugs.plugin.version>
+    <spotbugs.plugin.version>4.5.0.0</spotbugs.plugin.version>
     <spotbugs.impl.version>4.4.2</spotbugs.impl.version>
 
     <commons.mockito.version>4.1.0</commons.mockito.version>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index abdc651..edfb9c3 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -71,7 +71,7 @@ The <action> type attribute can be add,update,fix,remove.
     <action                  type="add" dev="ggregory" due-to="Gary Gregory">Add StrBuilder.isNotEmpty().</action>
     <!-- UPDATE -->
     <action                  type="update" dev="ggregory" due-to="Dependabot">Update checkstyle from 8.34 to 9.1, #141, #168, #182, #188, #193, #201, #208, #211, #228, #235, #245, #253, #255, #262, #270, #280.</action>
-    <action                  type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump spotbugs-maven-plugin from 4.0.0 to 4.4.2.2, #144, #150, #167, #176, #194, #210, #223, #250, #268, #273, #277, #278.</action>
+    <action                  type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump spotbugs-maven-plugin from 4.0.0 to 4.5.0.0, #144, #150, #167, #176, #194, #210, #223, #250, #268, #273, #277, #278, #286.</action>
     <action                  type="update" dev="ggregory" due-to="Dependabot">Update mockito-inline from 3.4.4 to 4.1.0, #143 #148 #149 #152 #153 #154 #158 #159 #166 #177 #180 #187 #195 #197 #207 #216 #231 #236 #237 #243 #258 #259 #260 #261 #272 #285.</action>
     <action                  type="update" dev="kinow" due-to="Dependabot">Bump junit-jupiter from 5.6.2 to 5.8.1 #163 #204 #232 #265 #269.</action>
     <action                  type="update" dev="kinow" due-to="Dependabot">Bump assertj-core from 3.16.1 to 3.21.0 #151 #157 #160 #178 #184 #199 #244 #267.</action>
@@ -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 dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.5.0.0
in repository https://gitbox.apache.org/repos/asf/commons-text.git

commit ebf4a215efd0768ff618763b074b2f29d2913a62
Author: Bruno P. Kinoshita <ki...@users.noreply.github.com>
AuthorDate: Sat Nov 20 12:48:14 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>