RFR: 8299502: Usage of constructors of primitive wrapper classes should be avoided in javax.xml API docs [v2]
altrisi
duke at openjdk.org
Wed Jan 11 18:45:18 UTC 2023
On Fri, 6 Jan 2023 21:59:13 GMT, Justin Lu <duke at openjdk.org> wrote:
>> Removed constructors of primitive wrapper classes (deprecated for removal) in _javax.xml.stream.XMLOutputFactory_
>>
>> Replaced with Boolean static fields: Boolean.TRUE and Boolean.FALSE
>
> Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
>
> Replace | with single value in example
Why not just `true` and `false`? Autoboxing handles that.
-------------
PR: https://git.openjdk.org/jdk/pull/11872
More information about the core-libs-dev
mailing list