bytedeco / javacpp

The missing bridge between Java and native C++
Other
4.46k stars 581 forks source link

Refactoring janitor #684

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 175 files to enhance readability and ensure compliance with widely accepted style norms.

CollapseNestedIfStatements: I have executed the CollapseNestedIfStatements refactoring on 4 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 3 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.