Commit codestyle to the project and reformat all code by Pazus · Pull Request #76 · utPLSQL/utPLSQL-java-api
Repository navigation
Commit codestyle to the project and reformat all code - #76
Merged
pesse merged 2 commits into develop from save-codestyle Mar 4, 2019
Merged
Commit codestyle to the project and reformat all code #76 pesse merged 2 commits into develop from save-codestyle
Conversation
Pazus commented Feb 22, 2019 · edited Loading
Copy link Copy Markdown
Member
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
reformat and cleanup all java code with defined codestyle
ff4972c
Pazus
requested review from
pesse and
viniciusam
February 22, 2019 19:30
exclude codestyle from gitignore
d8ab01c
added dictionaries to VCSpesse approved these changes Mar 4, 2019
View reviewed changes
pesse merged commit
c4539ea
into
develop
Mar 4, 2019
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