Skip to content

Commit cc0435c

Browse files
committed
clean up nullability annotations
[skip ci]
1 parent 6f1d103 commit cc0435c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commons/util/src/main/java/net/automatalib/common/util/process/ProcessUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public static int invokeProcess(String[] commandLine,
216216
* if the process is interrupted prior to finishing
217217
*/
218218
public static int invokeProcess(List<String> commandLine,
219-
Reader input,
219+
@Nullable Reader input,
220220
Consumer<String> stdOutConsumer,
221221
Consumer<String> stdErrConsumer) throws IOException, InterruptedException {
222222
return invokeProcess(commandLine,
@@ -275,7 +275,7 @@ public static int invokeProcess(String[] commandLine,
275275
* if the process is interrupted prior to finishing
276276
*/
277277
public static int invokeProcess(List<String> commandLine,
278-
Reader input,
278+
@Nullable Reader input,
279279
OutputStream stdOutConsumer,
280280
OutputStream stdErrConsumer) throws IOException, InterruptedException {
281281
return invokeProcess(commandLine, input, new CopyConsumer(stdOutConsumer), new CopyConsumer(stdErrConsumer));

0 commit comments

Comments
 (0)