Tencent / tinker

Tinker is a hot-fix solution library for Android, it supports dex, library and resources update without reinstall apk.
Other
17.15k stars 3.34k forks source link

Refactorings #1715

Closed AlexanderStocks closed 1 year ago

AlexanderStocks commented 1 year ago

Description

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

Reformat: Using Google's Java Code Style guidelines, I have reformatted 294 files to improve readability and to adhere to widely accepted style standards.

CollapseNestedIfStatements: I have applied a refactoring to 17 files that collapses nested if statements, thereby reducing complexity and improving understandability.

RemoveDuplication: I have executed a duplication removal refactoring to 14 files, streamlining the codebase by eliminating redundant code blocks.

These changes were executed with the help of the Refactoring Janitor tool.

Request for Feedback

As this work is part of my dissertation project, I would greatly appreciate any comments or feedback you may have on these changes. Your input is invaluable to my research and learning.

tencent-adm commented 1 year ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.