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

Code cleanup: InstrumentedInvokers #96

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

sleberknight
Copy link
Member

  • Wrap requireNonNull around calls to Map#get after a containsKey check returns true
  • Replace explicit try/finally with try-with-resources for Timer.Context
  • Use var instead of "Meter meter" and "Timer timer", etc.
  • Remove redundant type parameter in call to rethrow

* Wrap requireNonNull around calls to Map#get after a containsKey
  check returns true
* Replace explicit try/finally with try-with-resources for Timer.Context
* Use var instead of "Meter meter" and "Timer timer", etc.
* Remove redundant type parameter in call to rethrow
@sleberknight sleberknight added the code cleanup Fix issues reported by Sonar or any other code analysis tools label Feb 8, 2024
@sleberknight sleberknight added this to the 0.10.0 milestone Feb 8, 2024
@sleberknight sleberknight self-assigned this Feb 8, 2024
Copy link

sonarqubecloud bot commented Feb 8, 2024

@sleberknight sleberknight merged commit afaa439 into main Feb 8, 2024
5 checks passed
@sleberknight sleberknight deleted the code-cleanup-InstrumentedInvokers branch February 8, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Fix issues reported by Sonar or any other code analysis tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant