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

correct out of date Java style guide #269

Merged
merged 1 commit into from
May 1, 2018
Merged

Conversation

gracew
Copy link
Contributor

@gracew gracew commented May 1, 2018

No description provided.

@@ -221,12 +221,6 @@ top-level class it contains, plus the `.java` extension.

Source files are encoded in **UTF-8**.

### File length: 2000 lines
Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed in #85

@@ -332,10 +326,8 @@ Unused or redundant imports should be removed.

Static imports of project-specific methods limit readability as they
obfuscate method provenance. Static imports are thus discouraged with
the exception of folklore methods under `org.junit.Assert`,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

modified in #240

Copy link
Contributor

Choose a reason for hiding this comment

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

nit: worth matching

java.util.Collections.*,
java.util.stream.Collectors.*,
, specifically java collector and collection?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

didn't want to have to update the docs every time we change that checkstyle rule -- but I guess we shouldn't be changing it so much after #240?

@gracew gracew requested a review from iamdanfox May 1, 2018 19:29
@gracew gracew merged commit 61b01d9 into develop May 1, 2018
@gracew gracew deleted the gw/update-java-style-guide branch May 1, 2018 21:10
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