RFR: 8307409: Refactor usage examples to use @snippet in the java.nio packages [v3]

Brian Burkhalter bpb at openjdk.org
Wed May 10 16:37:28 UTC 2023


On Wed, 10 May 2023 06:39:39 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8307409: Fix indentation, links in snippets
>
> src/java.base/share/classes/java/nio/X-Buffer.java.template line 2198:
> 
>> 2196:      * then the identities
>> 2197:      * {@snippet lang=java :
>> 2198:      *     alignmentOffset(index - value, unitSize) == 0, value ≤ index
> 
> There is html for less-than, greater-than, etc. in many of the examples that will need be changed too.

I don't see any HTML entities that leaked through in this file aside from this one.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13870#discussion_r1190157989


More information about the nio-dev mailing list