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

Making tests happy. #100

Merged
merged 5 commits into from
Sep 22, 2015
Merged

Making tests happy. #100

merged 5 commits into from
Sep 22, 2015

Conversation

domesticmouse
Copy link
Contributor

Also trimming whitespace from README.md.

@domesticmouse
Copy link
Contributor Author

PTAL @markmcd

contexts.add(new Object[]{context});
}

if (supportsClientId) {
if (!(System.getenv("CLIENT_ID") == null
|| System.getenv("CLIENT_SECRET") == null)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: continuation spacing here should be +4

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do we have a code style import method for IntelliJ?

@markmcd
Copy link
Contributor

markmcd commented Sep 22, 2015

LGTM

|| System.getProperty("client.secret") == null || System.getProperty("client.secret").equals(""))) {
GeoApiContext context = new GeoApiContext()
.setEnterpriseCredentials(System.getProperty("client.id"), System.getProperty("client.secret"));
contexts.add(new Object[]{context});
Copy link
Contributor

Choose a reason for hiding this comment

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

There must be some way to make this read more nicely. Maybe some local variables?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've introduced local vars. What line length limit are we using for this project?

Copy link
Contributor

Choose a reason for hiding this comment

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

lg. i think 100-120 is reasonable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks Cbro!

domesticmouse added a commit that referenced this pull request Sep 22, 2015
@domesticmouse domesticmouse merged commit ee7a755 into googlemaps:master Sep 22, 2015
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.

None yet

3 participants