private boolean isCacheUpToDate() {
CachedRepository cachedRepository = m_cachedRepository;
try {
return (cachedRepository != null && cachedRepository.isCurrent());
}
catch (IOException ioe) {
m_log.log(LogService.LOG_WARNING, "Failed to check if cache is current. Assuming it's not.", ioe);
return false;
}
}
|