Closed rkoshak closed 1 year ago
I‘ve just checked the core JavaDoc, executeCommandLine
without a Duration is only void
, no wonder it is always null
.
Also, we need to use time.Duration right?
Yes (we don‘t need, Java Duration also works but is not the nice way).
This is really minor doc update, I hope the exception can apply.
IMO the exception applies here.
Without a
Duration
argument,executeCommandLine
always returnsnull
. I removed the example that appears to show calling it without aDuration
and getting the result of the echo. That can't happen as it's currently implemented.Also, we need to use
time.Duration
right? I'm pretty sure that's the case. If I'm wrong and that's not the case, we should show importing java.time.Duration in the example.I think I forgot to sign off on this. This is really minor doc update, I hope the exception can apply. If not I'll figure out how to fix it.