Skip to content

Commit e1a6cc2

Browse files
committed
fix javadoc for the new constructor
1 parent 86f13c8 commit e1a6cc2

File tree

1 file changed

+2
-1
lines changed
  • opengrok-indexer/src/main/java/org/opengrok/indexer/util

1 file changed

+2
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/util/Executor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,11 @@ public Executor(List<String> cmdList, @Nullable File workingDirectory, int timeo
111111
}
112112

113113
/**
114-
* Create a new instance of the Executor with default command timeout value.
114+
* Create a new instance of the Executor with default command timeout value and environment.
115115
* The timeout value will be based on the running context (indexer or web application).
116116
* @param cmdList A list containing the command to execute
117117
* @param workingDirectory The directory the process should have as the working directory
118+
* @param environ map of environment variables to be added/overridden
118119
*/
119120
public Executor(List<String> cmdList, @Nullable File workingDirectory, Map<String, String> environ) {
120121
this.cmdList = cmdList;

0 commit comments

Comments
 (0)