boolean (final CommittedChangeList list, final boolean forMerge) { final ListMergeStatus mergeStatus = getStatus(list, true); if ((mergeStatus == null) || (ListMergeStatus.ALIEN.equals(mergeStatus))) { return false; } else if (ListMergeStatus.REFRESHING.equals(mergeStatus)) { return true; } if (forMerge) { return ListMergeStatus.NOT_MERGED.equals(mergeStatus); } return ListMergeStatus.MERGED.equals(mergeStatus); }