Split multiple auto-config classes into separate files #233
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I wanted to do this earlier #226 (comment) but it didn't fit the context of the PR. However, I think we should still make this change. I don't see any reason why we should keep it as it is, since keeping classes in one file is bad practice.
Another trigger was #231. I believe this fix can partially solve the problem; we can refer to the auto configurations and disable them. I can't say for sure how well it solves the problem, so I'm not attaching this issue to this PR.
I also removed the checkstyle tags from the auto configurations (//CHECKSTYLE:OFF/ON) as they are no longer needed. Without them, checkstyle complained that separate classes cannot be stored in one file. Accordingly, checkstyle will now be applied to each class in the files.