305,8 → 305,8 |
String mediumEnd = MEDIUM_SUFFIX + "." + format; |
*/ |
|
File origin = null; |
Map cache = null; |
File origin; |
Map cache; |
|
if(file.getName().endsWith(SMALL_SUFFIX + "." + format)) { |
origin = getOriginFile(file, SMALL_SUFFIX); |
332,17 → 332,14 |
logger.debug("load cached dir " + file.getCanonicalPath() |
+ " for " + origin.getCanonicalPath()); |
} |
else if(file.getName().endsWith(DIR_PART_SUFFIX + "." + format)) { |
if(logger.isDebugEnabled()) |
logger.debug("skip cached dir part " + file.getCanonicalPath()); |
} |
else { |
if(logger.isInfoEnabled()) |
logger.warn( |
"unknown type of cached " + file.getCanonicalPath()); |
|
return; |
} |
|
if(origin != null && cache != null) |
loadCacheInfo(file, origin, cache); |
} |
|