Skip to content

Conversation

@tswast
Copy link
Contributor

@tswast tswast commented Apr 12, 2016

Add lint checks to Java getting started samples.

Sorry for the extra commits. ☹ I had to merge histories to keep java-repo-tools subtree in sync without causing every change to be a conflict.

tswast and others added 24 commits March 1, 2016 20:42
Adds shared pom.xml and google-checks.xml. I also add a test directory
to check that the pom works / is well-formed.
Remove unnecessary properties.
Ignore JavaDoc rules in test classes.
Remove extra XML stuff from POM.
Subtrees are the primary way I expect people to use the
`java-repo-tools` repository. Since it's not a super common workflow, I
document the needed steps in the README.
Add instructions for using with subtrees.
I modify the checkstyle config to have SAME_PACKAGE imports appear
before third-party imports. I think this better matches the intent of
the import ordering rules in the style guide.
https://google.github.io/styleguide/javaguide.html#s3.3.3-import-ordering-and-spacing
Expecially since it says the `com.google` imports only appear after
static imports if the source file is in the `com.google` package space.

(cherry picked from commit 7ca0e75)
Checkstyle: have SAME_PACKAGE imports appear before third-party imports
The pulling changes from Java Repository Tools instructions can now be followed verbatim.
The instructions here are much easier to follow and avoid unnecessary conflicts: https://help.github.com/articles/about-git-subtree-merges/
@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

@googlebot googlebot added the cla: no This human has *not* signed the Contributor License Agreement. label Apr 12, 2016
@tswast
Copy link
Contributor Author

tswast commented Apr 12, 2016

@googlebot I'm merging histories with https://github.com/GoogleCloudPlatform/java-repo-tools which is covered under CLA.

@lesv
Copy link
Contributor

lesv commented Apr 12, 2016

LGTM

@lesv lesv merged commit 118a481 into master Apr 12, 2016
@lesv lesv deleted the lint branch August 23, 2016 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: no This human has *not* signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants