void (File file) { final String path = FileUtil.toCanonicalPath(file.getPath()); lockData(); try { // ensure the file is not marked to recompilation anymore for (Set<File> files : myFilesToRecompile.values()) { files.remove(file); } myDeletedPaths.add(path); if (Utils.IS_TEST_MODE) { LOG.info("Marking deleted: " + path); } } finally { unlockData(); } }