Skip to content

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