mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
fix typo
This commit is contained in:
@@ -56,7 +56,7 @@ import sonia.scm.repository.AdvancedImportHandler;
|
||||
import sonia.scm.repository.ImportHandler;
|
||||
import sonia.scm.repository.ImportResult;
|
||||
import sonia.scm.repository.Repository;
|
||||
import sonia.scm.repository.RepositoryAllreadyExistExeption;
|
||||
import sonia.scm.repository.RepositoryAlreadyExistsException;
|
||||
import sonia.scm.repository.RepositoryException;
|
||||
import sonia.scm.repository.RepositoryHandler;
|
||||
import sonia.scm.repository.RepositoryManager;
|
||||
@@ -551,7 +551,7 @@ public class RepositoryImportResource
|
||||
repository = new Repository(null, type, name);
|
||||
manager.create(repository);
|
||||
}
|
||||
catch (RepositoryAllreadyExistExeption ex)
|
||||
catch (RepositoryAlreadyExistsException ex)
|
||||
{
|
||||
logger.warn("a {} repository with the name {} already exists", ex);
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ public class DefaultGroupManager extends AbstractGroupManager
|
||||
|
||||
if (groupDAO.contains(name))
|
||||
{
|
||||
throw new GroupAllreadyExistExeption(name.concat(" group already exists"));
|
||||
throw new GroupAlreadyExistsException(name.concat(" group already exists"));
|
||||
}
|
||||
|
||||
removeDuplicateMembers(group);
|
||||
|
||||
@@ -171,7 +171,7 @@ public class DefaultRepositoryManager extends AbstractRepositoryManager
|
||||
|
||||
if (repositoryDAO.contains(repository))
|
||||
{
|
||||
throw new RepositoryAllreadyExistExeption();
|
||||
throw new RepositoryAlreadyExistsException();
|
||||
}
|
||||
|
||||
repository.setId(keyGenerator.createKey());
|
||||
|
||||
@@ -159,7 +159,7 @@ public class DefaultUserManager extends AbstractUserManager
|
||||
|
||||
if (userDAO.contains(user.getName()))
|
||||
{
|
||||
throw new UserAllreadyExistException(user.getName());
|
||||
throw new UserAlreadyExistsException(user.getName());
|
||||
}
|
||||
|
||||
AssertUtil.assertIsValid(user);
|
||||
|
||||
Reference in New Issue
Block a user