configcat / java-sdk

ConfigCat SDK for Java. ConfigCat is a hosted feature flag service: https://configcat.com. Manage feature toggles across frontend, backend, mobile, desktop apps. Alternative to LaunchDarkly. Management app + feature flag SDKs.
https://configcat.com/docs/sdk-reference/java
MIT License
20 stars 6 forks source link

Fix for #12 #13

Closed z4kn4fein closed 2 years ago

z4kn4fein commented 2 years ago

Describe the purpose of your pull request

When the cache write is failed, further write attempts were skipped because the latest ETag was cached in memory.

Related issues (only if applicable)

12

Requirement checklist (only if applicable)

codecov[bot] commented 2 years ago

Codecov Report

Merging #13 (76e30a6) into master (64892bb) will decrease coverage by 0.09%. The diff coverage is n/a.

:exclamation: Current head 76e30a6 differs from pull request most recent head b9f7fd2. Consider uploading reports for the commit b9f7fd2 to get more accurate results

@@             Coverage Diff              @@
##             master      #13      +/-   ##
============================================
- Coverage     80.23%   80.14%   -0.10%     
  Complexity      285      285              
============================================
  Files            26       26              
  Lines           835      831       -4     
  Branches        107      106       -1     
============================================
- Hits            670      666       -4     
  Misses          122      122              
  Partials         43       43              
Impacted Files Coverage Δ
src/main/java/com/configcat/ConfigJsonCache.java 84.61% <ø> (-1.10%) :arrow_down:
src/main/java/com/configcat/ConfigModels.java 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 64892bb...b9f7fd2. Read the comment docs.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

No Coverage information No Coverage information
0.0% 0.0% Duplication