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

model: Eliminate the use of a SortedSet #8694

Merged
merged 3 commits into from
May 24, 2024

Conversation

fviernau
Copy link
Member

@fviernau fviernau commented May 24, 2024

Please see individual commits.

Part of #6235.

@fviernau fviernau requested a review from a team as a code owner May 24, 2024 10:40
@fviernau fviernau enabled auto-merge (rebase) May 24, 2024 10:40
@fviernau fviernau force-pushed the eliminate-dep-graph-sorted-set-part-1 branch from d3bd2bb to 3e01ede Compare May 24, 2024 10:41
Copy link

codecov bot commented May 24, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 67.85%. Comparing base (ae9ede0) to head (5012c79).

Files Patch % Lines
...rc/main/kotlin/utils/SortedCollectionConverters.kt 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8694      +/-   ##
============================================
- Coverage     67.86%   67.85%   -0.02%     
  Complexity     1165     1165              
============================================
  Files           244      244              
  Lines          7734     7736       +2     
  Branches        865      865              
============================================
  Hits           5249     5249              
- Misses         2126     2128       +2     
  Partials        359      359              
Flag Coverage Δ
funTest-docker 66.84% <ø> (ø)
funTest-non-docker 34.17% <0.00%> (-0.02%) ⬇️
test 38.01% <50.00%> (-0.01%) ⬇️

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.

@sschuberth
Copy link
Member

The file contains both, SortedSet and SortedMap converters.

Correct, but maps are also not collections 😅 But I cannot think of a better name either 😸

sschuberth
sschuberth previously approved these changes May 24, 2024
@fviernau
Copy link
Member Author

Correct, but maps are also not collections 😅 But I cannot think of a better name either 😸

hehe, right. I missed that 😅

The file contains both, `SortedSet` and `SortedMap` converters.

Signed-off-by: Frank Viernau <[email protected]>
Using a `SortedSet` is not required.

Signed-off-by: Frank Viernau <[email protected]>
Only sort on serialization for human readability and reproducibility.

Signed-off-by: Frank Viernau <[email protected]>
@fviernau fviernau merged commit d8fb1d0 into main May 24, 2024
19 of 20 checks passed
@fviernau fviernau deleted the eliminate-dep-graph-sorted-set-part-1 branch May 24, 2024 19:04
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