This commit is contained in:
René Pfeuffer
2018-06-20 11:11:14 +02:00
parent b93b291293
commit 7f19b5baff
5 changed files with 25 additions and 23 deletions

View File

@@ -39,5 +39,5 @@ package sonia.scm.repository.client.api;
*/
public enum ClientCommand
{
ADD, REMOVE, COMMIT, PUSH, TAG, BANCH
ADD, REMOVE, COMMIT, PUSH, TAG, BRANCH
}

View File

@@ -37,14 +37,13 @@ package sonia.scm.repository.client.spi;
import sonia.scm.repository.client.api.ClientCommand;
import sonia.scm.repository.client.api.ClientCommandNotSupportedException;
//~--- JDK imports ------------------------------------------------------------
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.util.Set;
//~--- JDK imports ------------------------------------------------------------
/**
*
* @author Sebastian Sdorra
@@ -93,7 +92,7 @@ public abstract class RepositoryClientProvider implements Closeable
*/
public BranchCommand getBranchCommand()
{
throw new ClientCommandNotSupportedException(ClientCommand.BANCH);
throw new ClientCommandNotSupportedException(ClientCommand.BRANCH);
}
/**