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 2019/12/18 21:05:46 UTC

[commons-daemon] branch master updated (192cfe7 -> cb16fdd)

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 192cfe7  More startup on Windows logging in javajni.c. #14.
     new 0674022  Remove trailing white spaces on all lines.
     new cb16fdd  Remove unnecessary array creation for varargs.

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:
 src/main/java/org/apache/commons/daemon/DaemonInitException.java  | 2 +-
 src/main/java/org/apache/commons/daemon/support/DaemonLoader.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


[commons-daemon] 02/02: Remove unnecessary array creation for varargs.

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 cb16fddf76467b0656049071f2f744f8a27e1b67
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Dec 18 16:05:42 2019 -0500

    Remove unnecessary array creation for varargs.
---
 src/main/java/org/apache/commons/daemon/support/DaemonLoader.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/daemon/support/DaemonLoader.java b/src/main/java/org/apache/commons/daemon/support/DaemonLoader.java
index a5fd3d8..9dc2887 100644
--- a/src/main/java/org/apache/commons/daemon/support/DaemonLoader.java
+++ b/src/main/java/org/apache/commons/daemon/support/DaemonLoader.java
@@ -101,7 +101,7 @@ public final class DaemonLoader
     {
         try {
             if (signal != null) {
-                signal.invoke(daemon, new Object[0]);
+                signal.invoke(daemon);
                 return true;
             }
             System.out.println("Daemon doesn't support signaling");


[commons-daemon] 01/02: Remove trailing white spaces on all lines.

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 0674022e21a32657b1b5338f3dfaa311bec7d53f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Dec 18 15:29:35 2019 -0500

    Remove trailing white spaces on all lines.
---
 src/main/java/org/apache/commons/daemon/DaemonInitException.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/daemon/DaemonInitException.java b/src/main/java/org/apache/commons/daemon/DaemonInitException.java
index 9dd4130..9dd3a48 100644
--- a/src/main/java/org/apache/commons/daemon/DaemonInitException.java
+++ b/src/main/java/org/apache/commons/daemon/DaemonInitException.java
@@ -17,7 +17,7 @@
 package org.apache.commons.daemon;
 
 /**
- * Throw this during init if you can't initialise yourself for some expected 
+ * Throw this during init if you can't initialise yourself for some expected
  * reason.  Using this exception will cause the exception's message to come out
  * on stdout, rather than a dirty great stacktrace.
  */