Skip to content

Commit 712081f

Browse files
committed
add Nullable annotation
1 parent e1a6cc2 commit 712081f

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public Executor(List<String> cmdList, @Nullable File workingDirectory, Map<Strin
131131
* @param workingDirectory The directory the process should have as the working directory
132132
* @param useTimeout terminate the process after default timeout or not
133133
*/
134-
public Executor(List<String> cmdList, File workingDirectory, boolean useTimeout) {
134+
public Executor(List<String> cmdList, @Nullable File workingDirectory, boolean useTimeout) {
135135
this(cmdList, workingDirectory);
136136
if (!useTimeout) {
137137
this.timeout = 0;

0 commit comments

Comments
 (0)