diff --git a/src/java.base/share/classes/java/nio/X-Buffer.java.template b/src/java.base/share/classes/java/nio/X-Buffer.java.template index aa52f575f19..cfedf970f43 100644 --- a/src/java.base/share/classes/java/nio/X-Buffer.java.template +++ b/src/java.base/share/classes/java/nio/X-Buffer.java.template @@ -55,12 +55,12 @@ import jdk.internal.util.ArraysSupport; * *
  • Absolute and relative {@link #get($type$[]) bulk get} * methods that transfer contiguous sequences of $type$s from this buffer - * into an array; {#if[!byte]?and}

  • + * into an array;

    * *
  • Absolute and relative {@link #put($type$[]) bulk put} * methods that transfer contiguous sequences of $type$s from $a$ - * $type$ array{#if[char]?, a string,} or some other $type$ - * buffer into this buffer;{#if[!byte]? and}

  • + * $type$ array{#if[char]?, a string,} or some other $type$ + * buffer into this buffer;

    * #if[byte] * @@ -86,12 +86,12 @@ import jdk.internal.util.ArraysSupport; #if[byte] * * content, or by {@link #wrap($type$[]) wrapping} an - * existing $type$ array {#if[char]?or string} into a buffer. + * existing $type$ array into a buffer. * #else[byte] * * content, by {@link #wrap($type$[]) wrapping} an existing - * $type$ array {#if[char]?or string} into a buffer, or by creating a + * $type$ array {#if[char]?or string} into a buffer, or by creating a * view of an existing byte buffer. * #end[byte]