boolean () { boolean hasChanges = false; final Collection<ChangesCacheFile> caches = myCachesHolder.getAllCaches(); for(ChangesCacheFile file: caches) { try { if (file.isEmpty()) { continue; } debug("Refreshing incoming changes for " + file.getLocation()); boolean changesForCache = file.refreshIncomingChanges(); hasChanges |= changesForCache; } catch (IOException e) { LOG.error(e); } catch(VcsException e) { notifyRefreshError(e); } } return hasChanges; }