BockFileLoader: make field fileIt immutable

This commit is contained in:
Sean Gilligan 2023-03-29 07:59:23 -07:00 committed by Andreas Schildbach
parent 2d054d4e49
commit 21217e3c0b

View file

@ -79,7 +79,7 @@ public class BlockFileLoader implements Iterable<Block>, Iterator<Block> {
return defaultBlocksDir;
}
private Iterator<File> fileIt;
private final Iterator<File> fileIt;
private File file = null;
private FileInputStream currentFileStream = null;
private Block nextBlock = null;