List<BranchInfo> (final VcsTaskHandler.TaskInfo taskInfo, final boolean original) { return ContainerUtil.map(taskInfo.getRepositories(), s -> { BranchInfo info = new BranchInfo(); info.name = taskInfo.getName(); info.repository = s; info.original = original; return info; }); }