mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-03 21:29:18 +01:00
fix typo
This commit is contained in:
@@ -39,7 +39,7 @@ package sonia.scm.group;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
public class GroupAllreadyExistExeption extends GroupException
|
||||
public class GroupAlreadyExistsException extends GroupException
|
||||
{
|
||||
|
||||
/** Field description */
|
||||
@@ -50,7 +50,7 @@ public class GroupAllreadyExistExeption extends GroupException
|
||||
*
|
||||
* @param message exception message
|
||||
*/
|
||||
public GroupAllreadyExistExeption(String message) {
|
||||
public GroupAlreadyExistsException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
@@ -115,7 +115,7 @@ public abstract class AbstractSimpleRepositoryHandler<C extends SimpleRepository
|
||||
|
||||
if (directory.exists())
|
||||
{
|
||||
throw new RepositoryAllreadyExistExeption();
|
||||
throw new RepositoryAlreadyExistsException();
|
||||
}
|
||||
|
||||
checkPath(directory);
|
||||
@@ -411,9 +411,9 @@ public abstract class AbstractSimpleRepositoryHandler<C extends SimpleRepository
|
||||
*
|
||||
* @param directory repository target directory
|
||||
*
|
||||
* @throws RepositoryAllreadyExistExeption
|
||||
* @throws RepositoryAlreadyExistsException
|
||||
*/
|
||||
private void checkPath(File directory) throws RepositoryAllreadyExistExeption
|
||||
private void checkPath(File directory) throws RepositoryAlreadyExistsException
|
||||
{
|
||||
File repositoryDirectory = config.getRepositoryDirectory();
|
||||
File parent = directory.getParentFile();
|
||||
@@ -432,7 +432,7 @@ public abstract class AbstractSimpleRepositoryHandler<C extends SimpleRepository
|
||||
logger.error("parent path {} is a repository", parent);
|
||||
}
|
||||
|
||||
throw new RepositoryAllreadyExistExeption();
|
||||
throw new RepositoryAlreadyExistsException();
|
||||
}
|
||||
|
||||
parent = parent.getParentFile();
|
||||
|
||||
@@ -37,7 +37,7 @@ package sonia.scm.repository;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
public class RepositoryAllreadyExistExeption extends RepositoryException
|
||||
public class RepositoryAlreadyExistsException extends RepositoryException
|
||||
{
|
||||
|
||||
/** Field description */
|
||||
@@ -41,7 +41,7 @@ import sonia.scm.util.Util;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
public class UserAllreadyExistException extends UserException
|
||||
public class UserAlreadyExistsException extends UserException
|
||||
{
|
||||
|
||||
/** Field description */
|
||||
@@ -53,7 +53,7 @@ public class UserAllreadyExistException extends UserException
|
||||
* Constructs ...
|
||||
*
|
||||
*/
|
||||
public UserAllreadyExistException() {}
|
||||
public UserAlreadyExistsException() {}
|
||||
|
||||
/**
|
||||
* Constructs ...
|
||||
@@ -62,7 +62,7 @@ public class UserAllreadyExistException extends UserException
|
||||
* @param username
|
||||
* @since 1.5
|
||||
*/
|
||||
public UserAllreadyExistException(String username)
|
||||
public UserAlreadyExistsException(String username)
|
||||
{
|
||||
super("user \"".concat(Util.nonNull(username)).concat(
|
||||
"\" allready exists"));
|
||||
Reference in New Issue
Block a user