void (boolean canUseCache) { mySessionPartner.beforeRefresh(); if (myVcsHistoryProvider instanceof VcsHistoryProviderEx && myStartingRevisionNumber != null) { VcsCachingHistory.collectInBackground(myVcs, myPath, myStartingRevisionNumber, mySessionPartner); } else { boolean collectedFromCache = false; if (myFirstTime) { collectedFromCache = VcsCachingHistory.collectFromCache(myVcs, myPath, mySessionPartner); } if (!collectedFromCache) { VcsCachingHistory.collectInBackground(myVcs, myPath, mySessionPartner, canUseCache); } } myFirstTime = false; }