Skip to content

Remove double whitespace in if conditions #3549

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
Dec 9, 2015
Merged

Remove double whitespace in if conditions #3549

merged 1 commit into from
Dec 9, 2015

Conversation

vanniktech
Copy link
Collaborator

Just found them while walking through the source code trying to get a better overview of the Rx internals.

@artem-zinnatullin
Copy link
Contributor

👍, you'll find a lot of such issues…

@akarnokd checkstyle one day maybe?

@vanniktech
Copy link
Collaborator Author

I actually found only the one in TestSubscriber. After that I ran ack "if " over the entire project and found also the other one.

If you guys want, I can add checkstyle in a separate PR.

@artem-zinnatullin
Copy link
Contributor

I'd be happy to see checkstyle in RxJava, but my previous attempts to add it failed: #2807, #3147 and other comments.

@akarnokd
Copy link
Member

It's hard to agree on some styles, i.e. always use blocks with ifs and such.

@vanniktech
Copy link
Collaborator Author

Yes I get that, though I don't see what the problem is fixing once they are made.

Maybe we could agree on some very basic checkstyle rules, like don't use double whitespaces (if there's a rule for that). Tab indention etc

@vanniktech
Copy link
Collaborator Author

Is there anything against this being merged?

@akarnokd
Copy link
Member

akarnokd commented Dec 9, 2015

We usually require two likes from collaborators.

👍

@zsxwing
Copy link
Member

zsxwing commented Dec 9, 2015

👍

zsxwing added a commit that referenced this pull request Dec 9, 2015
Remove double whitespace in if conditions
@zsxwing zsxwing merged commit 1274971 into ReactiveX:1.x Dec 9, 2015
@vanniktech vanniktech deleted the clean_up branch December 9, 2015 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants