Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jun 18, 2024
1 parent 9154556 commit 5dde549
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ public boolean markSupported() {
}

/**
* Overrides the {@link java.io.InputStream#read()}. Reads the next byte of
* Overrides the {@link InputStream#read()}. Reads the next byte of
* data from the input stream.
*
* @return the next byte of data, or {@code EOS (-1)} if the end of the
Expand All @@ -486,7 +486,7 @@ public int read() throws IOException {
}

/**
* Overrides the {@link java.io.InputStream#read(byte[], int, int)}.
* Overrides the {@link InputStream#read(byte[], int, int)}.
* Decryption is buffer based. If there is data in {@link #outBuffer}, then
* read it out of this buffer. If there is no data in {@link #outBuffer},
* then read more from the underlying stream and do the decryption.
Expand Down Expand Up @@ -573,7 +573,7 @@ public int read(final ByteBuffer dst) throws IOException {
}

/**
* Overrides the {@link java.io.InputStream#skip(long)}. Skips over and
* Overrides the {@link InputStream#skip(long)}. Skips over and
* discards {@code n} bytes of data from this input stream.
*
* @param n the number of bytes to be skipped.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ public boolean isOpen() {
}

/**
* Overrides the {@link java.io.OutputStream#write(byte[], int, int)}.
* Overrides the {@link OutputStream#write(byte[], int, int)}.
* Encryption is buffer based. If there is enough room in {@link #inBuffer},
* then write to this buffer. If {@link #inBuffer} is full, then do
* encryption and write data to the underlying stream.
Expand Down Expand Up @@ -434,7 +434,7 @@ public int write(final ByteBuffer src) throws IOException {
}

/**
* Overrides the {@link java.io.OutputStream#write(byte[])}. Writes the
* Overrides the {@link OutputStream#write(byte[])}. Writes the
* specified byte to this output stream.
*
* @param b the data.
Expand Down

0 comments on commit 5dde549

Please sign in to comment.