Fix nullpointerexception.

This commit is contained in:
didfet
2016-08-23 17:47:51 +02:00
parent 3970ebdba9
commit b469a0e872

View File

@@ -344,7 +344,7 @@ public class RandomAccessFile implements DataInput, DataOutput {
// Close the underlying file object.
file.close();
file = null; // help the gc
//file = null; // help the gc => commented because of problems with nullpointerexceptions when trying to read after close
}
/**