NanoHttpd / nanohttpd

Tiny, easily embeddable HTTP server in Java.
http://nanohttpd.org
BSD 3-Clause "New" or "Revised" License
6.94k stars 1.69k forks source link

Refactoring #637

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

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