Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit codestyle to the project and reformat all code #76

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

Merged
merged 2 commits into from
Mar 4, 2019

Conversation

Pazus
Copy link
Member

@Pazus Pazus commented Feb 22, 2019

Commited codestyle settings:
all default to IDEA except that if, for, while, do force braces for multiline bodies. Meaning you can write either

if (true) bar();

or

if (true) {
  bar();
}

Forcing braces for multiline if/for/etc makes code less error prune. If not forcing one day someone will for sure add second statement and forget to add braces. The code will break and tests may miss it.

All changes in the PR are result of automating IDEA formatting without any handmade changes

@Pazus Pazus requested review from viniciusam and pesse February 22, 2019 19:30
added dictionaries to VCS
@pesse pesse merged commit c4539ea into develop Mar 4, 2019
@Pazus Pazus deleted the save-codestyle branch March 8, 2019 08:21
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