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 2021/11/04 12:34:02 UTC

[commons-daemon] branch master updated (6bd7a5b -> 89befa5)

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


    from 6bd7a5b  Make internal class static.
     new 5c464c4  Bump commons.daemon.javaversion 1.6 -> 1.7.
     new 2673ce4  Bump commons.daemon.javaversion 1.6 -> 1.7.
     new 89befa5  Use {} notation.

The 3 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                                               | 3 +++
 .../java/org/apache/commons/daemon/support/DaemonConfiguration.java   | 4 ++--
 3 files changed, 6 insertions(+), 3 deletions(-)

[commons-daemon] 01/03: Bump commons.daemon.javaversion 1.6 -> 1.7.

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

commit 5c464c476df222f5bdac53ec52718b30f1fafa4e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 4 08:33:00 2021 -0400

    Bump commons.daemon.javaversion 1.6 -> 1.7.
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 0deecc4..d0ff683 100644
--- a/pom.xml
+++ b/pom.xml
@@ -110,7 +110,7 @@
          of Java 6. It is therefore advisable to check with the Apache Tomcat
          community before increasing these values. -->
     <animal-sniffer.signature>java16</animal-sniffer.signature>
-    <commons.daemon.javaversion>1.6</commons.daemon.javaversion>
+    <commons.daemon.javaversion>1.7</commons.daemon.javaversion>
     <maven.compiler.source>${commons.daemon.javaversion}</maven.compiler.source>
     <maven.compiler.target>${commons.daemon.javaversion}</maven.compiler.target>
     <commons.componentid>daemon</commons.componentid>

[commons-daemon] 03/03: Use {} notation.

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

commit 89befa52da4aa068a9699229ec2307787b7e306a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 4 08:33:59 2021 -0400

    Use {} notation.
    
    Use diamond notation.
---
 .../java/org/apache/commons/daemon/support/DaemonConfiguration.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/daemon/support/DaemonConfiguration.java b/src/main/java/org/apache/commons/daemon/support/DaemonConfiguration.java
index c7e3f27..628c361 100644
--- a/src/main/java/org/apache/commons/daemon/support/DaemonConfiguration.java
+++ b/src/main/java/org/apache/commons/daemon/support/DaemonConfiguration.java
@@ -65,7 +65,7 @@ public final class DaemonConfiguration
     /**
      * An empty immutable {@code String} array.
      */
-    static final String[] EMPTY_STRING_ARRAY = new String[0];
+    static final String[] EMPTY_STRING_ARRAY = {};
 
     /**
      * Default constructor
@@ -192,7 +192,7 @@ public final class DaemonConfiguration
     public String[] getPropertyArray(final String name)
         throws ParseException
     {
-        final ArrayList<String> list = new ArrayList<String>();
+        final ArrayList<String> list = new ArrayList<>();
         String    args;
 
         // Load daemon.arg[0] ... daemon.arg[n] into the String array.

[commons-daemon] 02/03: Bump commons.daemon.javaversion 1.6 -> 1.7.

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

commit 2673ce434be0095b302403f92bae36f995dbae8d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Nov 4 08:33:09 2021 -0400

    Bump commons.daemon.javaversion 1.6 -> 1.7.
---
 src/changes/changes.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 5f72e2a..083e749 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -71,6 +71,9 @@
       <action type="update" dev="ggregory" due-to="Dependabot">
         Bump junit from 4.13.1 to 4.13.2 #25.
       </action>
+      <action type="update" dev="ggregory" due-to="Gary Gregory">
+        Bump commons.daemon.javaversion 1.6 -> 1.7.
+      </action>
     </release>
     <release version="1.2.4" date="2021-01-21" description="Bug fix release">
       <action issue="DAEMON-424" type="fix" dev="markt" due-to="Bernhard Scholz">