@@ -46,9 +46,9 @@ public class BaseNCodecInputStream extends FilterInputStream {
4646 /**
4747 * Constructs a new instance.
4848 *
49- * @param inputStream the input stream
50- * @param baseNCodec the codec
51- * @param doEncode set to true to perform encoding, else decoding
49+ * @param inputStream the input stream.
50+ * @param baseNCodec the codec.
51+ * @param doEncode set to true to perform encoding, else decoding.
5252 */
5353 protected BaseNCodecInputStream (final InputStream inputStream , final BaseNCodec baseNCodec , final boolean doEncode ) {
5454 super (inputStream );
@@ -60,8 +60,7 @@ protected BaseNCodecInputStream(final InputStream inputStream, final BaseNCodec
6060 /**
6161 * {@inheritDoc}
6262 *
63- * @return {@code 0} if the {@link InputStream} has reached {@code EOF},
64- * {@code 1} otherwise
63+ * @return {@code 0} if the {@link InputStream} has reached {@code EOF}, {@code 1} otherwise.
6564 * @since 1.7
6665 */
6766 @ Override
@@ -82,7 +81,7 @@ public int available() throws IOException {
8281 * into 8-bit bytes and discard the remainder.
8382 * </p>
8483 *
85- * @return true if using strict decoding
84+ * @return true if using strict decoding.
8685 * @since 1.15
8786 */
8887 public boolean isStrictDecoding () {
@@ -118,8 +117,7 @@ public boolean markSupported() {
118117 * Reads one {@code byte} from this input stream.
119118 *
120119 * @return the byte as an integer in the range 0 to 255. Returns -1 if EOF has been reached.
121- * @throws IOException
122- * if an I/O error occurs.
120+ * @throws IOException if an I/O error occurs.
123121 */
124122 @ Override
125123 public int read () throws IOException {
@@ -135,23 +133,15 @@ public int read() throws IOException {
135133 }
136134
137135 /**
138- * Attempts to read {@code len} bytes into the specified {@code b} array starting at {@code offset}
139- * from this InputStream.
136+ * Attempts to read {@code len} bytes into the specified {@code b} array starting at {@code offset} from this InputStream.
140137 *
141- * @param array
142- * destination byte array
143- * @param offset
144- * where to start writing the bytes
145- * @param len
146- * maximum number of bytes to read
147- *
148- * @return number of bytes read
149- * @throws IOException
150- * if an I/O error occurs.
151- * @throws NullPointerException
152- * if the byte array parameter is null
153- * @throws IndexOutOfBoundsException
154- * if offset, len or buffer size are invalid
138+ * @param array destination byte array.
139+ * @param offset where to start writing the bytes.
140+ * @param len maximum number of bytes to read.
141+ * @return number of bytes read.
142+ * @throws IOException if an I/O error occurs.
143+ * @throws NullPointerException if the byte array parameter is null.
144+ * @throws IndexOutOfBoundsException if offset, len or buffer size are invalid.
155145 */
156146 @ Override
157147 public int read (final byte [] array , final int offset , final int len ) throws IOException {
@@ -207,7 +197,7 @@ public int read(final byte[] array, final int offset, final int len) throws IOEx
207197 * The {@link #reset} method of {@link BaseNCodecInputStream} does nothing except throw an {@link IOException}.
208198 * </p>
209199 *
210- * @throws IOException if this method is invoked
200+ * @throws IOException if this method is invoked.
211201 * @since 1.7
212202 */
213203 @ Override
@@ -218,7 +208,7 @@ public synchronized void reset() throws IOException {
218208 /**
219209 * {@inheritDoc}
220210 *
221- * @throws IllegalArgumentException if the provided skip length is negative
211+ * @throws IllegalArgumentException if the provided skip length is negative.
222212 * @since 1.7
223213 */
224214 @ Override
0 commit comments