Skip to content

Conversation

@elharo
Copy link
Contributor

@elharo elharo commented Jan 5, 2026

The excludes are not used here. Consider if they should be removed like this PR or somehow used.

@elharo elharo requested a review from slachiewicz January 5, 2026 12:41
@slachiewicz
Copy link
Member

Looks more like bug

private List<File> getFilesToProcess(CheckstyleExecutorRequest request) throws IOException {
StringBuilder excludesStr = new StringBuilder();

if (StringUtils.isNotEmpty(request.getExcludes())) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addFilesToProcess gets the excludes from the request, but it does not currently get the default excludes. That's the difference.

@elharo elharo changed the title Remove moot code Consider default excludes when choosing files to check Jan 7, 2026
@elharo elharo added the bug Something isn't working label Jan 7, 2026
Copy link
Contributor Author

@elharo elharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PTAL

Now actually considers the excludes

Copy link
Contributor Author

@elharo elharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping

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.

2 participants