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


The following commit(s) were added to refs/heads/master by this push:
     new 5b14573  Normalize array type declarations
5b14573 is described below

commit 5b145734d7c2b9adb091c3bc42cd85bbc280a7da
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Aug 23 08:43:08 2023 -0400

    Normalize array type declarations
---
 src/samples/AloneService.java  | 6 +++---
 src/samples/ServiceDaemon.java | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/samples/AloneService.java b/src/samples/AloneService.java
index f018876..4defe6d 100644
--- a/src/samples/AloneService.java
+++ b/src/samples/AloneService.java
@@ -28,9 +28,9 @@ import java.util.Properties;
 public class AloneService {
 
     private Properties prop = null;
-    private Process proc[] = null;
-    private ServiceDaemonReadThread readout[] = null;
-    private ServiceDaemonReadThread readerr[] = null;
+    private Process[] proc = null;
+    private ServiceDaemonReadThread[] readout = null;
+    private ServiceDaemonReadThread[] readerr = null;
 
     @Override
     protected void finalize() {
diff --git a/src/samples/ServiceDaemon.java b/src/samples/ServiceDaemon.java
index 87894f2..b7f8f4d 100644
--- a/src/samples/ServiceDaemon.java
+++ b/src/samples/ServiceDaemon.java
@@ -29,9 +29,9 @@ import org.apache.commons.daemon.DaemonContext;
 public class ServiceDaemon implements Daemon {
 
     private Properties prop = null;
-    private Process proc[] = null;
-    private ServiceDaemonReadThread readout[] = null;
-    private ServiceDaemonReadThread readerr[] = null;
+    private Process[] proc = null;
+    private ServiceDaemonReadThread[] readout = null;
+    private ServiceDaemonReadThread[] readerr = null;
 
     public ServiceDaemon() {
         super();

Reply via email to