ListMergeStatus (final CommittedChangeList list, final boolean ignoreEnabled) { ListMergeStatus result; if (!isEnabledAndConfigured(ignoreEnabled) || !(list instanceof SvnChangeList)) { result = ListMergeStatus.ALIEN; } else { MergeInfoCached cachedState = getCurrentCache(); MergeInfoCached state = myMergeInfoCache.getCachedState(myPanel.getWcInfo(), myPanel.getLocalBranch()); result = cachedState != null ? check(list, cachedState, true) : state != null ? check(list, state, false) : refresh(ignoreEnabled); } return result; }