On Wed, 6 Jul 2022 00:32:00 GMT, Stuart Marks <[email protected]> wrote:
> Simple javadoc fix of an editorial nature.
src/java.base/share/classes/java/util/Map.java line 745:
> 743: * (<a
> href="{@docRoot}/java.base/java/util/Collection.html#optional-restrictions">optional</a>)
> 744: * @throws NullPointerException if the specified function is null,
> or if a replacement value is null
> 745: * and this map does not permit null values
This looks okay although I'd probably reflow L744-745 to avoid to keep the line
lengths somewhat consistent with the other exceptions.
-------------
PR: https://git.openjdk.org/jdk19/pull/111