MergeCheckResult (@NotNull final SvnChangeList list, final String branchPath) { synchronized (myCalculatedLock) { MergeCheckResult result; final long revision = calculateCopyRevision(branchPath); if (revision != -1 && revision >= list.getNumber()) { result = MergeCheckResult.COMMON; } else { result = myAlreadyCalculatedMap.computeIfAbsent(list.getNumber(), __ -> checkAlive(list, branchPath)); } return result; } }