You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new method in Processes to return OptionalLong when pid is not available from a Process:
staticOptionalLongprocessIdOrEmpty(Processproc)
This is b/c Process#pid()can throw an UnsupportedOperationException per its javadocs and I want the option to handle this situation, however unlikely it may be.
The text was updated successfully, but these errors were encountered:
* Add processIdOrEmpty to Processes, returning OptionalLong which will
be empty if Process#pid() throws UnsupportedOperationException for any
reason.
Closes#518
Add a new method in Processes to return OptionalLong when pid is not available from a Process:
This is b/c
Process#pid()
can throw anUnsupportedOperationException
per its javadocs and I want the option to handle this situation, however unlikely it may be.The text was updated successfully, but these errors were encountered: