Skip to content

Organize, Format, Alphabetize and Finalize #752

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

Conversation

benjchristensen
Copy link
Member

Code cleanup after the many new operators that have come in over the past 2 months.

  1. Organized imports
  2. Formatted all code for standard whitespace, code formatting etc
  3. Sorted methods in Observable.java alphabetically
  4. Updated all license headers
  5. Made Observable methods final as they are not intended to be overridden in the rare cases when inheritance makes sense for Observable. This better communicates the inheritance intent of the class and prevents against accidental misuse (such as overriding subscribe which breaks it).

- standardizing all source
It’s a huge class … alphabetized the methods to give rhyme-and-reason for where to place new operators and for navigating it.
Their behavior is interrelated and co-dependent and should therefore not be over-written.
Observable itself is not made final as there are some limited reasons for inheritance (such as GroupedObservable and Subjects).
- since I’m touching all files for the other commits I’ll update the copyright headers as well
@cloudbees-pull-request-builder

RxJava-pull-requests #667 SUCCESS
This pull request looks good

benjchristensen added a commit that referenced this pull request Jan 15, 2014
…ize-finalize

Organize, Format, Alphabetize and Finalize
@benjchristensen benjchristensen merged commit 10f172d into ReactiveX:master Jan 15, 2014
@benjchristensen benjchristensen deleted the organize-format-alphabetize-finalize branch January 15, 2014 07:50
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