/** {@inheritDoc} */ public Set<Branch> getBranches() throws GitException, InterruptedException { return Git.USE_CLI ? super.getBranches() : jgit.getBranches(); }
for (Branch b : getBranches()) { if (b.getName().equals(branch)) { deleteBranch(branch);