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

Checkstyle: Fix top-level class violations in test code #1649

Conversation

ssoloff
Copy link
Member

@ssoloff ssoloff commented Apr 20, 2017

This PR fixes violations of the Checkstyle OneTopLevelClass rule in test code.

In most cases, the fix was simply to nest a top-level package-private class under the sole top-level class that used it. In one case, I removed an unused class (ThrowingRandomSource).

The changes in this PR are more easily reviewed when whitespace changes are ignored (?w=1).

@simon33-2
Copy link
Contributor

Can I ask why this is important or more worthwhile than the issues I listed in #1638?

@ron-murhammer ron-murhammer merged commit 6bf2e79 into triplea-game:master Apr 20, 2017
@ssoloff
Copy link
Member Author

ssoloff commented Apr 21, 2017

@simon33-2

Can I ask why this is important or more worthwhile than the issues I listed in #1638?

It's probably not. 😃 But I'm spending most of my free time working on prototyping the Serialization Proxy changes. When I see that there's no Checkstyle PRs waiting to be merged, I'll walk away from the prototyping for an hour or so and fix a few more warnings in order to keep making headway there.

I have #1645 bookmarked. Once I finish the Serialization Proxy changes (it could take quite a while), I'll mosey on over there.

@simon33-2
Copy link
Contributor

Cool. Be awesome if that bug can be fixed, even if it won't be backwards compatible.

@ssoloff ssoloff deleted the checkstyle-fix-top-level-class-violations-in-test-code branch April 21, 2017 22:20
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.

3 participants