diff -r a7f16447085e -r 48e480e56aad src/java.base/share/classes/java/util/zip/CheckedInputStream.java --- a/src/java.base/share/classes/java/util/zip/CheckedInputStream.java Tue Sep 24 10:04:13 2019 +0000 +++ b/src/java.base/share/classes/java/util/zip/CheckedInputStream.java Tue Sep 24 09:43:43 2019 +0100 @@ -65,18 +65,18 @@ } /** - * Reads into an array of bytes. If len is not zero, the method + * Reads into an array of bytes. If {@code len} is not zero, the method * blocks until some input is available; otherwise, no - * bytes are read and 0 is returned. + * bytes are read and {@code 0} is returned. * @param buf the buffer into which the data is read - * @param off the start offset in the destination array b + * @param off the start offset in the destination array {@code b} * @param len the maximum number of bytes read * @return the actual number of bytes read, or -1 if the end * of the stream is reached. - * @throws NullPointerException If buf is null. - * @throws IndexOutOfBoundsException If off is negative, - * len is negative, or len is greater than - * buf.length - off + * @throws NullPointerException If {@code buf} is {@code null}. + * @throws IndexOutOfBoundsException If {@code off} is negative, + * {@code len} is negative, or {@code len} is greater than + * {@code buf.length - off} * @throws IOException if an I/O error has occurred */ public int read(byte[] buf, int off, int len) throws IOException {