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

Store installationTokens in a ConcurrentHashMap #195

Merged

Conversation

mitchhentgesspotify
Copy link
Contributor

Hopefully this is sufficient to make GitHubClient thread-safe.

No other usages of HashMap or ArrayList were found, except for Languages which is a return structure, so is less necessary to be thread-safe.

Hopefully this is sufficient to make `GitHubClient` thread-safe.

No other usages of `HashMap` or `ArrayList` were found, except for
`Languages` which is a return structure, so is less
necessary to be thread-safe.
Copy link

codecov bot commented Jul 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.26%. Comparing base (55ad5a3) to head (7b07e22).

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #195   +/-   ##
=========================================
  Coverage     76.26%   76.26%           
  Complexity      317      317           
=========================================
  Files            44       44           
  Lines          1066     1066           
  Branches         44       44           
=========================================
  Hits            813      813           
  Misses          227      227           
  Partials         26       26           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@dennisgranath dennisgranath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dennisgranath dennisgranath merged commit 8a9f799 into spotify:master Jul 10, 2024
5 checks passed
@mitchhentgesspotify mitchhentgesspotify deleted the mhentges/thredsafe branch July 10, 2024 13:39
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.

2 participants