RFR: 8372746: Some httpserver files could benefit from some formatting cleanup [v5]

Daisuke Yamazaki dyama at openjdk.org
Fri Dec 12 09:42:13 UTC 2025


On Fri, 12 Dec 2025 09:24:21 GMT, Daisuke Yamazaki <dyama at openjdk.org> wrote:

>> 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:
> 
>   Update copyright year to 2025 in multiple HTTP server files

Thanks for pointing that out, I’ve made the changes.
By the way, for files like `src/jdk.httpserver/share/classes\com\sun\net\httpserver\HttpsExchange.java`, which were last updated in 2020 but still have 2013 in their copyright notice, should I go ahead and update it to 2020 as well?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28660#issuecomment-3645699698


More information about the net-dev mailing list