Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.

Store installationTokens in a ConcurrentHashMap#195

Merged
dennisgranath merged 1 commit into
spotify:masterfrom
mitchhentgesspotify:mhentges/thredsafe
Jul 10, 2024
Merged

Store installationTokens in a ConcurrentHashMap#195
dennisgranath merged 1 commit into
spotify:masterfrom
mitchhentgesspotify:mhentges/thredsafe

Conversation

@mitchhentgesspotify
Copy link
Copy Markdown
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.
@codecov
Copy link
Copy Markdown

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
Copy Markdown
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
@mitchhentgesspotify mitchhentgesspotify deleted the mhentges/thredsafe branch July 10, 2024 13:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants