Skip to content

Fix wrong replacement suggestion for UnnecessaryFilter#4807

Merged
BraisGabin merged 1 commit into
detekt:mainfrom
themkat:GH-4806
May 3, 2022
Merged

Fix wrong replacement suggestion for UnnecessaryFilter#4807
BraisGabin merged 1 commit into
detekt:mainfrom
themkat:GH-4806

Conversation

@themkat

@themkat themkat commented May 3, 2022

Copy link
Copy Markdown
Contributor

Fixes #4806

size is a property/member, not a method/function, and does not take any inputs.

@codecov

codecov Bot commented May 3, 2022

Copy link
Copy Markdown

Codecov Report

Merging #4807 (9e9c34c) into main (ca29f28) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               main    #4807   +/-   ##
=========================================
  Coverage     84.72%   84.72%           
  Complexity     3426     3426           
=========================================
  Files           491      491           
  Lines         11260    11260           
  Branches       2069     2069           
=========================================
  Hits           9540     9540           
  Misses          674      674           
  Partials       1046     1046           
Impacted Files Coverage Δ
...arturbosch/detekt/rules/style/UnnecessaryFilter.kt 80.55% <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 ca29f28...9e9c34c. Read the comment docs.

@BraisGabin BraisGabin merged commit 30af7dc into detekt:main May 3, 2022
@themkat themkat deleted the GH-4806 branch May 4, 2022 14:36
@cortinico cortinico added this to the 1.21.0 milestone Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong replacement suggestion for [UnnecessaryFilter]

3 participants