Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close the RandomAccessFile instance to prevent IO Exceptions.
large numbers of files being scanned would yield Exception in thread "main" java.io.FileNotFoundException: <redacted> (Too many open files) at java.io.RandomAccessFile.open(Native Method) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241) at silly.metrics.KeywordCounter.recurse(KeywordCounter.java:222) at silly.metrics.KeywordCounter.recurse(KeywordCounter.java:218) at silly.metrics.KeywordCounter.recurse(KeywordCounter.java:218)
- Loading branch information