app: Do code cleanup

This commit is contained in:
tarsin committed 2022-07-18 20:47:04 +08:00
1 parent 9dcc24f4d9
commit 191db14398
72 files changed
+471 -506

No files matched your search

@@ -80,8 +80,8 @@ public interface UniRandomAccessFile {
*
* @param b the buffer into which the data is read
* @return the total number of bytes read into the buffer, or
* {@code -1} if there is no more data because the end of
* the file has been reached.
* {@code -1} if there is no more data because the end of
* the file has been reached.
* @throws IOException if an I/O error occurs
*/
int read(byte[] b) throws IOException;
@@ -90,12 +90,12 @@ public interface UniRandomAccessFile {
* Reads exactly len bytes from this file into the byte array,
* starting at the current file pointer.
*
* @param b the buffer into which the data is read
* @param b the buffer into which the data is read
* @param off the start offset of the data
* @param len the number of bytes to read
* @return the total number of bytes read into the buffer, or
* {@code -1} if there is no more data because the end of
* the file has been reached.
* {@code -1} if there is no more data because the end of
* the file has been reached.
* @throws IOException
*/
int read(byte[] b, int off, int len) throws IOException;
@@ -112,7 +112,7 @@ public interface UniRandomAccessFile {
/**
* Writes len bytes from the specified byte array starting at offset off to this file.
*
* @param b the data
* @param b the data
* @param off the start offset in the data
* @param len the number of bytes to write
* @throws IOException