RFR: 8372746: Some httpserver files could benefit from some formatting cleanup [v2]
Daisuke Yamazaki
dyama at openjdk.org
Fri Dec 5 10:32:14 UTC 2025
> Hello mainteners,
>
> I cleaned up inconsistent spacing across the httpserver codebase.
>
> 1. Removed extra spaces before parentheses in function and constructor declarations to make them consistent.
> 2. Applied the same rule to function and constructor calls.
> 3. Normalised other spacing based on the majority style already used in the codebase.
> 4. Left spots untouched where keeping the spacing improves readability.
>
> **This PR only adds or removes spaces. No functional changes.**
>
> If you think it would have been better to update only the documentation part and leave the logic untouched, please let me know.
> I split the commits, so I can easily revert the one that touches the logic.
Daisuke Yamazaki has updated the pull request incrementally with one additional commit since the last revision:
Fix wrong indentation in package-info.java
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28660/files
- new: https://git.openjdk.org/jdk/pull/28660/files/4b2af821..48827e61
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28660&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28660&range=00-01
Stats: 11 lines in 1 file changed: 0 ins; 0 del; 11 mod
Patch: https://git.openjdk.org/jdk/pull/28660.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28660/head:pull/28660
PR: https://git.openjdk.org/jdk/pull/28660
More information about the net-dev
mailing list