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 c644146f Add missing Javadoc tags
c644146f is described below

commit c644146f329565c92f404462aaa095d9e5b95109
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Dec 13 09:19:06 2023 -0500

    Add missing Javadoc tags
---
 src/main/java/org/apache/commons/exec/Executor.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main/java/org/apache/commons/exec/Executor.java 
b/src/main/java/org/apache/commons/exec/Executor.java
index 814cc72c..16bef12c 100644
--- a/src/main/java/org/apache/commons/exec/Executor.java
+++ b/src/main/java/org/apache/commons/exec/Executor.java
@@ -54,6 +54,7 @@ public interface Executor {
      * @param command the command to execute
      * @return process exit value
      * @throws ExecuteException execution of subprocess failed or the 
subprocess returned a exit value indicating a failure {@link 
Executor#setExitValue(int)}.
+     * @throws IOException If an I/O error occurs.
      */
     int execute(CommandLine command) throws ExecuteException, IOException;
 
@@ -64,6 +65,7 @@ public interface Executor {
      * @param command the command to execute
      * @param handler capture process termination and exit code
      * @throws ExecuteException execution of subprocess failed
+     * @throws IOException If an I/O error occurs.
      */
     void execute(CommandLine command, ExecuteResultHandler handler) throws 
ExecuteException, IOException;
 
@@ -74,6 +76,7 @@ public interface Executor {
      * @param environment The environment for the new process. If null, the 
environment of the current process is used.
      * @return process exit value
      * @throws ExecuteException execution of subprocess failed or the 
subprocess returned a exit value indicating a failure {@link 
Executor#setExitValue(int)}.
+     * @throws IOException If an I/O error occurs.
      */
     int execute(CommandLine command, Map<String, String> environment) throws 
ExecuteException, IOException;
 
@@ -85,6 +88,7 @@ public interface Executor {
      * @param environment The environment for the new process. If null, the 
environment of the current process is used.
      * @param handler     capture process termination and exit code
      * @throws ExecuteException execution of subprocess failed
+     * @throws IOException If an I/O error occurs.
      */
     void execute(CommandLine command, Map<String, String> environment, 
ExecuteResultHandler handler) throws ExecuteException, IOException;
 

Reply via email to