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

Code style changes in LinearRing::getCentroid() #387

Closed
wants to merge 4 commits into from
Closed

Code style changes in LinearRing::getCentroid() #387

wants to merge 4 commits into from

Conversation

marcjansen
Copy link
Member

Mainly:

  • Not too many var declarations
  • line-length
  • single return statement

Also added an identity check when compairing to the number 0.

This is mostly cosmetic follow-up to #361.

Relevant tests continue to pass in IE 6, FF 11 and the ancient Chrome 11.

Please review.

line-length, and single return statement. Added identity
check when compairing to the number 0.
@marcjansen
Copy link
Member Author

@pagameba, I incorporated your suggestions, tests continue to pass in Chromium 18.

Would you be so kind to have another look?

@marcjansen marcjansen closed this Aug 26, 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

1 participant