This commit is contained in:
Sebastian Sdorra
2016-12-07 22:28:06 +01:00
parent 2a6f51fa6d
commit 3709ce7602
11 changed files with 18 additions and 18 deletions

View File

@@ -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);
}
}

View File

@@ -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();

View File

@@ -37,7 +37,7 @@ package sonia.scm.repository;
*
* @author Sebastian Sdorra
*/
public class RepositoryAllreadyExistExeption extends RepositoryException
public class RepositoryAlreadyExistsException extends RepositoryException
{
/** Field description */

View File

@@ -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"));