throw new MojoFailureException("There is no feature branches.");
}
final String[] branches = featureBranches.split("\\r?\\n");
List<String> numberedList = new ArrayList<String>();
StringBuffer str = new StringBuffer(
<BUG>"feature branch name to finish: [");
</BUG>
for (int i = 0; i < branches.length; i++) {
str.append((i + 1) + ". " + branches[i] + " ");
numberedList.add("" + (i + 1));

throw new MojoFailureException("There is no feature branches.");
}
final String[] branches = featureBranches.split("\\r?\\n");
List<String> numberedList = new ArrayList<String>();
StringBuffer str = new StringBuffer(
"Choose feature branch name to finish: [");
for (int i = 0; i < branches.length; i++) {
str.append((i + 1) + ". " + branches[i] + " ");
numberedList.add("" + (i + 1));
