Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to Processes to return OptionalLong if pid is not supported #519

Merged
merged 2 commits into from
Mar 17, 2021

Conversation

sleberknight
Copy link
Member

  • Add processIdOrEmpty to Processes, returning OptionalLong which will
    be empty if Process#pid() throws UnsupportedOperationException for any
    reason.

Closes #518

* Add processIdOrEmpty to Processes, returning OptionalLong which will
 be empty if Process#pid() throws UnsupportedOperationException for any
 reason.

Closes #518
@sleberknight sleberknight added this to the 0.21.0 milestone Mar 16, 2021
@sleberknight sleberknight requested a review from chrisrohr March 16, 2021 20:25
@sleberknight sleberknight removed this from the 0.21.0 milestone Mar 16, 2021
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@chrisrohr chrisrohr merged commit 0732609 into master Mar 17, 2021
@chrisrohr chrisrohr deleted the add-processId-method-returning-Optional branch March 17, 2021 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add processIdOrEmpty method in Processes
2 participants