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 2024/07/12 15:35:10 UTC
(commons-daemon) branch master updated: Javadoc
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 4f17a5d Javadoc
new 44fd3ec Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-daemon
4f17a5d is described below
commit 4f17a5dd73d9acabdd7d4ace07daba8c3d7a563b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jul 12 11:34:44 2024 -0400
Javadoc
---
src/main/java/org/apache/commons/daemon/support/DaemonLoader.java | 6 ++++++
1 file changed, 6 insertions(+)
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 e3507c7..a323430 100644
--- a/src/main/java/org/apache/commons/daemon/support/DaemonLoader.java
+++ b/src/main/java/org/apache/commons/daemon/support/DaemonLoader.java
@@ -60,6 +60,12 @@ public final class DaemonLoader
System.getProperty("commons.daemon.process.parent") + ")");
}
+ /**
+ * Checks whether the given class name can be instantiated with a zero-argument constructor.
+ *
+ * @param className The class name.
+ * @return true if the given class name can be instantiated, false otherwise.
+ */
public static boolean check(final String className)
{
try {