void (LocalTask task, VcsTaskHandler.TaskInfo[] info, boolean original) { for (VcsTaskHandler.TaskInfo taskInfo : info) { List<BranchInfo> branchInfos = BranchInfo.fromTaskInfo(taskInfo, original); for (BranchInfo branchInfo : branchInfos) { task.addBranch(branchInfo); } } }