RFR: 8299513: Cleanup java.io [v2]
Alan Bateman
alanb at openjdk.org
Fri Jan 6 14:06:49 UTC 2023
On Thu, 5 Jan 2023 12:34:12 GMT, Per Minborg <pminborg at openjdk.org> wrote:
>> Code in java.io contains many legacy constructs and semantics not recommended including:
>>
>> * C-style array declaration
>> * Unnecessary visibility
>> * Redundant keywords in interfaces (e.g. public, static)
>> * Non-standard naming for constants
>> * Javadoc typos
>> * Missing final declaration
>>
>> These should be fixed as a sanity effort.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>
> Rework StringWriter constructor
I see "nonnegative" has been changed to "non-negative" in several places. I believe both are correct and there are examples of both in javadoc and exception messages.
This is probably the first change to these files in 2023 so you'll need to bump the copyright year on most of them
-------------
PR: https://git.openjdk.org/jdk/pull/11848
More information about the core-libs-dev
mailing list