greenrobot / EventBus

Event bus for Android and Java that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality.
http://greenrobot.org/eventbus/
Apache License 2.0
24.67k stars 4.66k forks source link

Refactorings #716

Closed AlexanderStocks closed 1 year ago

AlexanderStocks commented 1 year ago

Pull Request Description:

As part of my dissertation project, I have conducted a series of automated refactorings and applied formatting to enhance the code quality of this repository:

Reformat: Leveraging Google's Java Code Style guidelines, I have reformatted 97 files for better readability and conformity with broadly accepted style standards.

CollapseNestedIfStatements: I have performed CollapseNestedIfStatements refactoring on 2 files. This change aims to simplify the logical structure of the code and enhance its readability.

RemoveDuplication: Further, I have applied a duplication removal refactoring to 3 files, streamlining the codebase by eradicating repetitive code blocks.

These modifications were performed with the assistance of the Refactoring Janitor tool.

Request for Feedback:

Given that this task is integral to my dissertation project, I would highly value any comments, feedback, or suggestions regarding the changes I have made. Your insights will significantly contribute to my research and learning.