mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
Fix typo in class name
This commit is contained in:
@@ -38,7 +38,7 @@ package sonia.scm;
|
|||||||
* @author Sebastian Sdorra
|
* @author Sebastian Sdorra
|
||||||
* @version 1.6
|
* @version 1.6
|
||||||
*/
|
*/
|
||||||
public class NotSupportedFeatuerException extends Exception
|
public class NotSupportedFeatureException extends Exception
|
||||||
{
|
{
|
||||||
|
|
||||||
/** Field description */
|
/** Field description */
|
||||||
@@ -50,7 +50,7 @@ public class NotSupportedFeatuerException extends Exception
|
|||||||
* Constructs ...
|
* Constructs ...
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public NotSupportedFeatuerException() {}
|
public NotSupportedFeatureException() {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs ...
|
* Constructs ...
|
||||||
@@ -58,7 +58,7 @@ public class NotSupportedFeatuerException extends Exception
|
|||||||
*
|
*
|
||||||
* @param message
|
* @param message
|
||||||
*/
|
*/
|
||||||
public NotSupportedFeatuerException(String message)
|
public NotSupportedFeatureException(String message)
|
||||||
{
|
{
|
||||||
super(message);
|
super(message);
|
||||||
}
|
}
|
||||||
@@ -38,7 +38,7 @@ package sonia.scm.repository;
|
|||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import sonia.scm.NotSupportedFeatuerException;
|
import sonia.scm.NotSupportedFeatureException;
|
||||||
import sonia.scm.SCMContextProvider;
|
import sonia.scm.SCMContextProvider;
|
||||||
import sonia.scm.event.ScmEventBus;
|
import sonia.scm.event.ScmEventBus;
|
||||||
|
|
||||||
@@ -165,12 +165,12 @@ public abstract class AbstractRepositoryHandler<C extends RepositoryConfig>
|
|||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*
|
*
|
||||||
* @throws NotSupportedFeatuerException
|
* @throws NotSupportedFeatureException
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public ImportHandler getImportHandler() throws NotSupportedFeatuerException
|
public ImportHandler getImportHandler() throws NotSupportedFeatureException
|
||||||
{
|
{
|
||||||
throw new NotSupportedFeatuerException(
|
throw new NotSupportedFeatureException(
|
||||||
"import handler is not supported by this repository handler");
|
"import handler is not supported by this repository handler");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ package sonia.scm.repository;
|
|||||||
//~--- non-JDK imports --------------------------------------------------------
|
//~--- non-JDK imports --------------------------------------------------------
|
||||||
|
|
||||||
import sonia.scm.Handler;
|
import sonia.scm.Handler;
|
||||||
import sonia.scm.NotSupportedFeatuerException;
|
import sonia.scm.NotSupportedFeatureException;
|
||||||
import sonia.scm.plugin.ExtensionPoint;
|
import sonia.scm.plugin.ExtensionPoint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -70,9 +70,9 @@ public interface RepositoryHandler
|
|||||||
* @return {@link ImportHandler} for the repository type of this handler
|
* @return {@link ImportHandler} for the repository type of this handler
|
||||||
* @since 1.12
|
* @since 1.12
|
||||||
*
|
*
|
||||||
* @throws NotSupportedFeatuerException
|
* @throws NotSupportedFeatureException
|
||||||
*/
|
*/
|
||||||
public ImportHandler getImportHandler() throws NotSupportedFeatuerException;
|
public ImportHandler getImportHandler() throws NotSupportedFeatureException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns informations about the version of the RepositoryHandler.
|
* Returns informations about the version of the RepositoryHandler.
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ import org.apache.shiro.SecurityUtils;
|
|||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import sonia.scm.NotFoundException;
|
import sonia.scm.NotFoundException;
|
||||||
import sonia.scm.NotSupportedFeatuerException;
|
import sonia.scm.NotSupportedFeatureException;
|
||||||
import sonia.scm.Type;
|
import sonia.scm.Type;
|
||||||
import sonia.scm.api.rest.RestActionUploadResult;
|
import sonia.scm.api.rest.RestActionUploadResult;
|
||||||
import sonia.scm.api.v2.resources.RepositoryResource;
|
import sonia.scm.api.v2.resources.RepositoryResource;
|
||||||
@@ -394,7 +394,7 @@ public class RepositoryImportResource
|
|||||||
|
|
||||||
response = Response.ok(result).build();
|
response = Response.ok(result).build();
|
||||||
}
|
}
|
||||||
catch (NotSupportedFeatuerException ex)
|
catch (NotSupportedFeatureException ex)
|
||||||
{
|
{
|
||||||
logger
|
logger
|
||||||
.warn(
|
.warn(
|
||||||
@@ -609,7 +609,7 @@ public class RepositoryImportResource
|
|||||||
types.add(t);
|
types.add(t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (NotSupportedFeatuerException ex)
|
catch (NotSupportedFeatureException ex)
|
||||||
{
|
{
|
||||||
if (logger.isTraceEnabled())
|
if (logger.isTraceEnabled())
|
||||||
{
|
{
|
||||||
@@ -711,7 +711,7 @@ public class RepositoryImportResource
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (NotSupportedFeatuerException ex)
|
catch (NotSupportedFeatureException ex)
|
||||||
{
|
{
|
||||||
throw new WebApplicationException(ex, Response.Status.BAD_REQUEST);
|
throw new WebApplicationException(ex, Response.Status.BAD_REQUEST);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user