diff --git a/src/main/java/org/apache/commons/io/channels/ByteArraySeekableByteChannel.java b/src/main/java/org/apache/commons/io/channels/ByteArraySeekableByteChannel.java index 3edfd3c0978..57c38124875 100644 --- a/src/main/java/org/apache/commons/io/channels/ByteArraySeekableByteChannel.java +++ b/src/main/java/org/apache/commons/io/channels/ByteArraySeekableByteChannel.java @@ -104,12 +104,14 @@ public static Builder builder() { /** * Constructs a new channel backed directly by the given byte array. * - *

The channel initially contains the full contents of the array, with its - * size set to {@code bytes.length} and its position set to {@code 0}.

+ *

+ * The channel initially contains the full contents of the array, with its size set to {@code bytes.length} and its position set to {@code 0}. + *

* - *

Reads and writes operate on the shared array. - * If a write operation extends beyond the current capacity, the channel will - * automatically allocate a larger backing array and copy the existing contents.

+ *

+ * Reads and writes operate on the shared array. If a write operation extends beyond the current capacity, the channel will automatically allocate a larger + * backing array and copy the existing contents. + *

* * @param bytes The byte array to wrap, must not be {@code null} * @return A new channel that uses the given array as its initial backing store. diff --git a/src/main/java/org/apache/commons/io/channels/CloseShieldChannel.java b/src/main/java/org/apache/commons/io/channels/CloseShieldChannel.java index ba890d8a6a7..987e8427c7c 100644 --- a/src/main/java/org/apache/commons/io/channels/CloseShieldChannel.java +++ b/src/main/java/org/apache/commons/io/channels/CloseShieldChannel.java @@ -36,11 +36,13 @@ /** * Creates a close-shielding proxy for a {@link Channel}. * - *

The returned proxy implements all {@link Channel} sub-interfaces that are both supported by this implementation and actually implemented by the given - * delegate.

- * - *

The following interfaces are supported:

- * + *

+ * The returned proxy implements all {@link Channel} sub-interfaces that are both supported by this implementation and actually implemented by the given + * delegate. + *

+ *

+ * The following interfaces are supported: + *

*