Skip to content

Fix false positives for UnnecessaryFilter#3695

Merged
cortinico merged 3 commits into
detekt:mainfrom
t-kameyama:issue_3541
Apr 30, 2021
Merged

Fix false positives for UnnecessaryFilter#3695
cortinico merged 3 commits into
detekt:mainfrom
t-kameyama:issue_3541

Conversation

@t-kameyama
Copy link
Copy Markdown
Contributor

Fixes #3541

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2021

Codecov Report

Merging #3695 (5c9c3c0) into main (20bc74c) will decrease coverage by 0.00%.
The diff coverage is 82.60%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #3695      +/-   ##
============================================
- Coverage     78.04%   78.04%   -0.01%     
  Complexity     2883     2883              
============================================
  Files           473      473              
  Lines          9302     9300       -2     
  Branches       1767     1767              
============================================
- Hits           7260     7258       -2     
  Misses         1078     1078              
  Partials        964      964              
Impacted Files Coverage Δ Complexity Δ
...arturbosch/detekt/rules/style/UnnecessaryFilter.kt 78.78% <82.60%> (-1.22%) 14.00 <7.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 20bc74c...5c9c3c0. Read the comment docs.

@cortinico
Copy link
Copy Markdown
Member

Can you add a test case similar to the original case reported here #3541 (comment) ?

@cortinico cortinico merged commit f290bf7 into detekt:main Apr 30, 2021
@t-kameyama t-kameyama deleted the issue_3541 branch April 30, 2021 06:56
@cortinico cortinico added this to the 1.17.0 milestone May 1, 2021
picklebento pushed a commit to picklebento/detekt that referenced this pull request May 13, 2021
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.

UnnecessaryFilter false positive

3 participants