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

Minor file matcher improvements #9886

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mnonnenmacher
Copy link
Member

See the commit messages for details.

Constructor arguments cannot be referenced from class docs if they are
not also properties.

Signed-off-by: Martin Nonnenmacher <[email protected]>
This aligns the name of the class function with the static functions
which are also called `match`.

Signed-off-by: Martin Nonnenmacher <[email protected]>
@mnonnenmacher mnonnenmacher requested a review from a team as a code owner February 2, 2025 13:06
@mnonnenmacher mnonnenmacher enabled auto-merge (rebase) February 2, 2025 13:07
Copy link

codecov bot commented Feb 2, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 68.21%. Comparing base (50435a4) to head (b3020f5).

Files with missing lines Patch % Lines
scanner/src/main/kotlin/utils/FileListResolver.kt 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main    #9886   +/-   ##
=========================================
  Coverage     68.21%   68.21%           
  Complexity     1293     1293           
=========================================
  Files           250      250           
  Lines          8849     8849           
  Branches        920      920           
=========================================
  Hits           6036     6036           
  Misses         2424     2424           
  Partials        389      389           
Flag Coverage Δ
funTest-docker 65.14% <ø> (ø)
funTest-non-docker 33.37% <0.00%> (ø)
test-ubuntu-24.04 35.98% <66.66%> (ø)
test-windows-2022 35.96% <66.66%> (ø)

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

sschuberth commented Feb 2, 2025

Why not align the other way around? That would better match Kotlin's Regex.matches() .

@mnonnenmacher
Copy link
Member Author

Why not align the other way around? That would better match Kotlin's Regex.matches() .

I don't have a preference, I just wanted them to be the same. So do you prefer matches?

@sschuberth
Copy link
Member

I don't have a preference, I just wanted them to be the same. So do you prefer matches?

Yes, I think I'd slightly prefer that.

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