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

Enum order breaks white space #726

Merged
merged 9 commits into from
Feb 10, 2021
Merged

Enum order breaks white space #726

merged 9 commits into from
Feb 10, 2021

Conversation

kentr0w
Copy link
Collaborator

@kentr0w kentr0w commented Jan 25, 2021

What's done:

Rewrote algorithm to swap element
closes #721

### What's done:
   Rewrote algorithm to swap element
@kentr0w kentr0w added the bug Something isn't working label Jan 25, 2021
@kentr0w kentr0w requested review from petertrr and aktsay6 January 25, 2021 10:35
@codecov
Copy link

codecov bot commented Jan 25, 2021

Codecov Report

Merging #726 (2721441) into master (5140a50) will increase coverage by 0.02%.
The diff coverage is 87.50%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #726      +/-   ##
============================================
+ Coverage     79.78%   79.80%   +0.02%     
- Complexity     2025     2035      +10     
============================================
  Files            97       97              
  Lines          5090     5106      +16     
  Branches       1627     1633       +6     
============================================
+ Hits           4061     4075      +14     
  Misses          247      247              
- Partials        782      784       +2     
Flag Coverage Δ Complexity Δ
unittests 79.80% <87.50%> (+0.02%) 0.00 <14.00> (ø)

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

Impacted Files Coverage Δ Complexity Δ
...org/cqfn/diktat/ruleset/rules/chapter3/SortRule.kt 85.36% <87.50%> (-1.00%) 32.00 <14.00> (+9.00) ⬇️
...tat/ruleset/rules/chapter3/files/WhiteSpaceRule.kt 78.70% <0.00%> (+0.64%) 142.00% <0.00%> (+1.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 5140a50...2721441. Read the comment docs.

### What's done:
   Fixed according to new condition with comment
…pace

# Conflicts:
#	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/SortRule.kt
### What's done:
   Fixed according to new condition with comment
### What's done:
   Fixed according to our code-style
### What's done:
   Fixed after review. Simplified code
@kentr0w kentr0w merged commit 77b5578 into master Feb 10, 2021
@kentr0w kentr0w deleted the bugfix/enum-order-space branch February 10, 2021 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not able to use simple enum formatting
2 participants