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

fix: PMD warnings with new version #936

Merged
merged 5 commits into from
May 15, 2024
Merged

Conversation

DBlanchard88
Copy link
Contributor

@DBlanchard88 DBlanchard88 commented May 14, 2024

Was getting an unused local variable error due to "__" not being a named variable within try-with-resources blocks. Warnings have been suppressed.

https://stackoverflow.com/questions/16588843/why-does-try-with-resource-require-a-local-variable

#910

renovate bot and others added 2 commits May 13, 2024 18:51
@DBlanchard88 DBlanchard88 requested a review from a team as a code owner May 14, 2024 14:42
@toddbaert toddbaert changed the title fix: PMD warnings fix: PMD warnings with new version May 14, 2024
@toddbaert
Copy link
Member

@DBlanchard88 the CI failure is related to codecov rate limits and not your problem. I think your changes are valid. I will re-run in a bit.

Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.21%. Comparing base (0844c8f) to head (b32bf8d).

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #936      +/-   ##
============================================
+ Coverage     94.98%   95.21%   +0.22%     
- Complexity      383      384       +1     
============================================
  Files            36       36              
  Lines           877      877              
  Branches         53       53              
============================================
+ Hits            833      835       +2     
+ Misses           24       23       -1     
+ Partials         20       19       -1     
Flag Coverage Δ
unittests 95.21% <100.00%> (+0.22%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
Copy link

sonarcloud bot commented May 15, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@toddbaert toddbaert merged commit 1a46aea into open-feature:main May 15, 2024
8 checks passed
@DBlanchard88 DBlanchard88 deleted the bugs branch May 16, 2024 15:52
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.

3 participants