Skip to content

Putting white spaces in between if/while clauses and braces. #2007

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 1 commit into from
Apr 2, 2016
Merged

Putting white spaces in between if/while clauses and braces. #2007

merged 1 commit into from
Apr 2, 2016

Conversation

wxxsw
Copy link
Contributor

@wxxsw wxxsw commented Apr 1, 2016

What's in this pull request?

Fix whitespaces.

@gottesmm
Copy link
Contributor

gottesmm commented Apr 1, 2016

Can you change the commit message so that it specifically says that you are putting white spaces in between if/while clauses and braces with an example.

@wxxsw wxxsw changed the title Add whitespaces. Putting white spaces in between if/while clauses and braces. Apr 2, 2016
@wxxsw
Copy link
Contributor Author

wxxsw commented Apr 2, 2016

Thx @gottesmm

@gottesmm
Copy link
Contributor

gottesmm commented Apr 2, 2016

Can you put a dummy example into the commit message so that people can understand without reading the actual diff what the patch does?

Something like.

[gardening] Put white spaces in between if/while clauses and braces where it is missing.

For instance:

'if (foo){' => 'if (foo) {'

…here it is missing.

For instance:

'if (foo){' => 'if (foo) {'
@wxxsw
Copy link
Contributor Author

wxxsw commented Apr 2, 2016

Thank you, it's better.

@gottesmm
Copy link
Contributor

gottesmm commented Apr 2, 2016

@swift-ci Please test and merge

@gottesmm
Copy link
Contributor

gottesmm commented Apr 2, 2016

The test failure looks like some other issue. These changes should be NFC.

@gottesmm
Copy link
Contributor

gottesmm commented Apr 2, 2016

I had to revert this change since it introduced 80+ line violations. Please file a new diff with these changes, sans any of those 80+ line violations.

@wxxsw wxxsw deleted the whitespaces branch April 2, 2016 05:29
@wxxsw wxxsw restored the whitespaces branch April 2, 2016 05:30
@wxxsw wxxsw deleted the whitespaces branch April 2, 2016 05:36
@wxxsw
Copy link
Contributor Author

wxxsw commented Apr 2, 2016

#2025 @gottesmm

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