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-exec.git


The following commit(s) were added to refs/heads/master by this push:
     new 0a68b4a1 Javadoc
0a68b4a1 is described below

commit 0a68b4a134e661044b32c811cc958d8fee3bfbb2
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Oct 11 11:42:18 2024 -0400

    Javadoc
---
 src/main/java/org/apache/commons/exec/DefaultExecutor.java | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/main/java/org/apache/commons/exec/DefaultExecutor.java 
b/src/main/java/org/apache/commons/exec/DefaultExecutor.java
index 52dd6c32..a738b9e3 100644
--- a/src/main/java/org/apache/commons/exec/DefaultExecutor.java
+++ b/src/main/java/org/apache/commons/exec/DefaultExecutor.java
@@ -60,6 +60,17 @@ public class DefaultExecutor implements Executor {
         private ExecuteStreamHandler executeStreamHandler;
         private File workingDirectory;
 
+        /**
+         * Returns this instance typed as the subclass type {@code T}.
+         * <p>
+         * This is the same as the expression:
+         * </p>
+         * <pre>
+         * (B) this
+         * </pre>
+         *
+         * @return this instance typed as the subclass type {@code T}.
+         */
         @SuppressWarnings("unchecked")
         T asThis() {
             return (T) this;

Reply via email to