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

chore: tidied up a little #539

Merged
merged 1 commit into from
Aug 4, 2020
Merged

chore: tidied up a little #539

merged 1 commit into from
Aug 4, 2020

Conversation

RohanTalip
Copy link
Contributor

  • (Mostly) automatically reformatted code using IntelliJ IDEA to match the Google Style Guide (as documented in CONTRIBUTING.md).
    • 2 space indent, where it wasn't already.
    • Line wrap at 100 characters, where it wasn't already.
    • Wildcard imports were replaced with explicit imports.
    • Unused imports were removed.
    • Annotations were put onto their own line, and additional lines added for readability where necessary.
    • Braces were added to if-statements that didn't already have them.
  • Also made some minor edits, e.g. as suggested by IntelliJ IDEA (e.g. public --> private).

This will help with getting the code into shape before style conformance is required as per issue #472 and pull request #496.

See also:

Checklist

  • I have made a material change to the repo (functionality, testing, spelling, grammar)
  • I have read the [Contribution Guide] and my PR follows them.
  • I updated my branch with the development branch.
    • Not applicable. There is no development branch yet.
  • I have added tests that prove my fix is effective or that my feature works
    • Not applicable.
  • I have added necessary documentation about the functionality in the appropriate .md file
    • Not applicable.
  • I have added in line documentation to the code I modified
    • Not applicable.

@thinkingserious thinkingserious added status: code review request requesting a community code review or review from Twilio difficulty: medium fix is medium in difficulty status: hacktoberfest approved labels Oct 31, 2018
- (Mostly) automatically reformatted code using IntelliJ IDEA to match the Google Style Guide (as documented in CONTRIBUTING.md).
  - 2 space indent, where it wasn't already.
  - Line wrap at 100 characters, where it wasn't already.
  - Wildcard imports were replaced with explicit imports.
  - Unused imports were removed.
  - Annotations were put onto their own line, and additional lines added for readability where necessary.
  - Braces were added to if-statements that didn't already have them.
- Also made some minor edits, e.g. as suggested by IntelliJ IDEA (e.g. public --> private).

This will help with getting the code into shape before style conformance is required as per issue sendgrid#472 and pull request sendgrid#496.

See also:
- https:/google/google-java-format
- https://plugins.jetbrains.com/plugin/8527-google-java-format
- https:/google/styleguide/blob/gh-pages/intellij-java-google-style.xml
@thinkingserious thinkingserious changed the base branch from master to main July 28, 2020 14:33
@eshanholtz eshanholtz changed the title Tidied up a little. chore: tidied up a little Aug 4, 2020
@eshanholtz eshanholtz merged commit ddb76c5 into sendgrid:main Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: medium fix is medium in difficulty status: code review request requesting a community code review or review from Twilio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants