Remove unused File field.

This commit is contained in:
Wiz 2022-07-05 10:59:31 -04:00
parent 61b135acd9
commit d42bfcbf4e

View File

@ -17,7 +17,6 @@ public class GRandomAccessFile {
private static final byte[] EMPTY = new byte[0]; private static final byte[] EMPTY = new byte[0];
private static final int BUFFER_SIZE = 0x100000; private static final int BUFFER_SIZE = 0x100000;
private File file;
private RandomAccessFile randomAccessFile; private RandomAccessFile randomAccessFile;
private byte[] buffer = EMPTY; private byte[] buffer = EMPTY;
private long bufferOffset = 0; private long bufferOffset = 0;
@ -77,7 +76,6 @@ public class GRandomAccessFile {
* while opening or creating the file * while opening or creating the file
*/ */
public GRandomAccessFile(File file, String mode) throws IOException { public GRandomAccessFile(File file, String mode) throws IOException {
this.file = file;
randomAccessFile = new RandomAccessFile(file, mode); randomAccessFile = new RandomAccessFile(file, mode);
this.open = true; this.open = true;
} }