cachedFilesMap.put(path, cf2);
if (logger.isTraceEnabled())  logger.trace("Added CachedFile: " + path);
}
return cf2;
}
<BUG>public static CachedFile addCachedFile(File f) {
String path = f.getPath();</BUG>
CachedFile cf = inCache(f);
if (cf == null) {
cf = new CachedFile(path);

cachedFilesMap.put(path, cf2);
if (logger.isTraceEnabled())  logger.trace("Added CachedFile: " + path);
}
return cf2;
}
public static CachedFile addCachedFile(File f) {
if (f == null) {
if (logger.isTraceEnabled()) logger.trace("addCachedFile(f) - unexpected null parameter");
return null;
}
String path = f.getPath();
CachedFile cf = inCache(f);
if (cf == null) {
cf = new CachedFile(path);
