You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/11/06 20:02:35 UTC

[commons-text] branch master updated (32a20376 -> 4847309e)

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

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


    from 32a20376 Track changes
     new 6361eca9 Use Arrays.setAll()
     new 4847309e Bump spotbugs-maven-plugin from 4.7.2.1 to 4.7.2.2

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 +-
 src/changes/changes.xml                                      | 2 +-
 src/main/java/org/apache/commons/text/AlphabetConverter.java | 4 +---
 3 files changed, 3 insertions(+), 5 deletions(-)


[commons-text] 01/02: Use Arrays.setAll()

Posted by gg...@apache.org.
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

commit 6361eca94d2d1122666a1eff4dfc619f54acbca5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Nov 6 15:01:23 2022 -0500

    Use Arrays.setAll()
---
 src/main/java/org/apache/commons/text/AlphabetConverter.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/text/AlphabetConverter.java b/src/main/java/org/apache/commons/text/AlphabetConverter.java
index d048b168..4936483d 100644
--- a/src/main/java/org/apache/commons/text/AlphabetConverter.java
+++ b/src/main/java/org/apache/commons/text/AlphabetConverter.java
@@ -105,9 +105,7 @@ public final class AlphabetConverter {
             return ArrayUtils.EMPTY_INTEGER_OBJECT_ARRAY;
         }
         final Integer[] integers = new Integer[chars.length];
-        for (int i = 0; i < chars.length; i++) {
-            integers[i] = (int) chars[i];
-        }
+        Arrays.setAll(integers, i -> (int) chars[i]);
         return integers;
     }
 


[commons-text] 02/02: Bump spotbugs-maven-plugin from 4.7.2.1 to 4.7.2.2

Posted by gg...@apache.org.
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

commit 4847309e1ae93c46f9607e002ab75bc0405e9f38
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Nov 6 15:02:30 2022 -0500

    Bump spotbugs-maven-plugin from 4.7.2.1 to 4.7.2.2
---
 pom.xml                 | 2 +-
 src/changes/changes.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 128fe797..92675510 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,7 +51,7 @@
     <checkstyle.plugin.version>3.2.0</checkstyle.plugin.version>
     <checkstyle.version>9.3</checkstyle.version>
 
-    <commons.spotbugs.plugin.version>4.7.2.1</commons.spotbugs.plugin.version>
+    <commons.spotbugs.plugin.version>4.7.2.2</commons.spotbugs.plugin.version>
     <commons.spotbugs.impl.version>4.7.3</commons.spotbugs.impl.version>
     <commons.pmd.version>3.19.0</commons.pmd.version>
     <commons.pmd-impl.version>6.51.0</commons.pmd-impl.version>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 677184f5..ccd208a1 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -55,7 +55,7 @@ The <action> type attribute can be add,update,fix,remove.
     <action                  type="update" dev="ggregory" due-to="Dependabot">Bump actions/checkout from 3.0.2 to 3.1.0 #366.</action>
     <action                  type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">Bump commons.pmd-impl.version from 6.49.0 to 6.51.0 #364.</action>
     <action                  type="update" dev="ggregory" due-to="Dependabot">Bump commons-rng-simple from 1.4 to 1.5 #370.</action>
-    <action                  type="update" dev="ggregory" due-to="Dependabot">Bump spotbugs-maven-plugin from 4.7.2.0 to 4.7.2.1 #371.</action>
+    <action                  type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">Bump spotbugs-maven-plugin from 4.7.2.0 to 4.7.2.2 #371.</action>
     <action                  type="update" dev="ggregory" due-to="Dependabot">Bump spotbugs from 4.7.2 to 4.7.3 #373.</action>
     <action                  type="update" dev="kinow" due-to="Dependabot">Bump mockito-inline from 4.8.0 to 4.8.1 #380.</action>
   </release>