Rename method

This commit is contained in:
Rene Pfeuffer
2019-11-11 16:50:39 +01:00
parent 8e4606cff1
commit f7e42db850
6 changed files with 10 additions and 10 deletions

View File

@@ -84,7 +84,7 @@ public class GitBranchCommand extends AbstractGitCommand implements BranchComman
}
@Override
public void delete(String branchName) {
public void deleteOrClose(String branchName) {
try (Git gitRepo = new Git(context.open())) {
RepositoryHookEvent hookEvent = createBranchHookEvent(BranchHookContextProvider.deleteHookEvent(branchName));
eventBus.post(new PreReceiveRepositoryHookEvent(hookEvent));