lucene
1918
Anomaly identified by the detector. Please review whether this anomaly corresponds to a misuse.
6
/home/eko/MUBench/MUBench/checkouts/lucene/1918/original-src/org/apache/lucene/store/RAMDirectory.java
fileExists(String)
class RAMDirectory { /** Returns true iff the named file exists in this directory. */ public final boolean fileExists(String name) { ensureOpen(); RAMFile file; synchronized (this) { file = (RAMFile)fileMap.get(name); } return file != null; } }
HashMap#get -> FileNotFoundException#new
FileNotFoundException#new
0.1
no need to throw