CommittedChangeListForRevision (@NotNull VcsFullCommitDetails detail, boolean withChanges) { return new CommittedChangeListForRevision(detail.getSubject(), detail.getFullMessage(), VcsUserUtil.getShortPresentation(detail.getCommitter()), new Date(detail.getCommitTime()), withChanges ? detail.getChanges() : ContainerUtil.emptyList(), convertToRevisionNumber(detail.getId())); }