UnevenSoftware / LeafPic

LeafPic is a fluid, material-designed alternative gallery, it also is ad-free and open source under GPLv3 license. It doesn't miss any of the main features of a stock gallery, and we also have plans to add more useful features.
GNU General Public License v3.0
3.27k stars 1.35k forks source link

Refactoring janitor #619

Closed AlexanderStocks closed 1 year ago

AlexanderStocks commented 1 year ago

Description:

As part of my dissertation project, I've undertaken a sequence of automated refactorings and applied formatting with the goal to improve the quality of the codebase in this repository:

Reformat: Utilizing Google's Java Code Style guidelines, I have reformatted 139 files to enhance readability and ensure compliance with widely accepted style norms.

CollapseNestedIfStatements: I have executed the CollapseNestedIfStatements refactoring on 5 files. This refactoring effort is aimed at simplifying the logic of the code and making it more readable.

RemoveDuplication: I have executed the RemoveDuplication refactoring on 6 file, aiming to streamline the codebase by eliminating redundant code blocks.

These changes were executed using the Refactoring Janitor tool.

Request for Feedback:

As this initiative is part of my dissertation project, your comments, feedback, or suggestions about the changes I've made would be immensely valuable. Your insights will greatly contribute to my research and learning.