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 2025/03/14 14:05:15 UTC
(commons-daemon) branch master updated: Comment: Remove unnecessary Latin acronym
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 d144316 Comment: Remove unnecessary Latin acronym
d144316 is described below
commit d144316faf4a12799c641a7b70049c12948344dd
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Mar 14 10:05:11 2025 -0400
Comment: Remove unnecessary Latin acronym
---
src/main/java/org/apache/commons/daemon/support/DaemonLoader.java | 2 +-
src/site/xdoc/procrun.xml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
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 4dd8ee5..21d8124 100644
--- a/src/main/java/org/apache/commons/daemon/support/DaemonLoader.java
+++ b/src/main/java/org/apache/commons/daemon/support/DaemonLoader.java
@@ -31,7 +31,7 @@ import org.apache.commons.daemon.DaemonInitException;
public final class DaemonLoader
{
- // N.B. These static mutable variables need to be accessed using synch.
+ // These static mutable variables need to be accessed using synch.
private static Controller controller; //@GuardedBy("this")
private static Object daemon; //@GuardedBy("this")
/* Methods to call */
diff --git a/src/site/xdoc/procrun.xml b/src/site/xdoc/procrun.xml
index 8d30a0f..e68c9aa 100644
--- a/src/site/xdoc/procrun.xml
+++ b/src/site/xdoc/procrun.xml
@@ -635,7 +635,7 @@ you need to create a class with the appropriate method(s).
For example:
<source>
class MyClass;
-// N.B. error handling not shown
+// Error handling not shown
static void main(String [] args){
String mode = args[0];
if ("start".equals(mode){
@@ -656,7 +656,7 @@ is start or stop.
Alternatively, you can use different method names for the service start and stop functions:
<source>
class MyClass;
-// N.B. error handling not shown
+// Error handling not shown
static void start(String [] args){
// process service start function
}