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 05504ad Format: "catch(" -> "catch (" 05504ad is described below commit 05504ad29c0df2eefc8314504deb47055ee5bebc Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Apr 18 10:33:43 2023 -0400 Format: "catch(" -> "catch (" --- src/samples/AloneService.java | 4 ++-- src/samples/ServiceDaemon.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/samples/AloneService.java b/src/samples/AloneService.java index 0051ab5..71dc5af 100644 --- a/src/samples/AloneService.java +++ b/src/samples/AloneService.java @@ -86,7 +86,7 @@ public class AloneService { System.err.println("ServiceDaemon: starting: " + name + " : " + prop.getProperty(name)); try { proc[i] = Runtime.getRuntime().exec(prop.getProperty(name)); - } catch(Exception ex) { + } catch (Exception ex) { System.err.println("Exception: " + ex); } /* Start threads to read from Error and Out streams */ @@ -110,7 +110,7 @@ public class AloneService { proc[i].destroy(); try { proc[i].waitFor(); - } catch(InterruptedException ex) { + } catch (InterruptedException ex) { System.err.println("ServiceDaemon: exception while stopping:" + ex); } diff --git a/src/samples/ServiceDaemon.java b/src/samples/ServiceDaemon.java index 9f7ba5f..d690521 100644 --- a/src/samples/ServiceDaemon.java +++ b/src/samples/ServiceDaemon.java @@ -92,7 +92,7 @@ public class ServiceDaemon implements Daemon { System.err.println("ServiceDaemon: starting: " + name + " : " + prop.getProperty(name)); try { proc[i] = Runtime.getRuntime().exec(prop.getProperty(name)); - } catch(Exception ex) { + } catch (Exception ex) { System.err.println("Exception: " + ex); } /* Start threads to read from Error and Out streams */ @@ -118,7 +118,7 @@ public class ServiceDaemon implements Daemon { proc[i].destroy(); try { proc[i].waitFor(); - } catch(InterruptedException ex) { + } catch (InterruptedException ex) { System.err.println("ServiceDaemon: exception while stopping:" + ex); }