produce text plain doesn't have any sense missed a file

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234430 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-01-21 22:32:29 +00:00
parent 5df449c74e
commit 9fbd56564a
1 changed files with 2 additions and 2 deletions

View File

@ -41,14 +41,14 @@ public interface RepositoryGroupService
{
@Path( "getRepositoriesGroups" )
@GET
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
@RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
List<RepositoryGroup> getRepositoriesGroups()
throws ArchivaRestServiceException;
@Path( "getRepositoryGroup/{repositoryGroupId}" )
@GET
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML } )
@RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
RepositoryGroup getRepositoryGroup( @PathParam( "repositoryGroupId" ) String repositoryGroupId )
throws ArchivaRestServiceException;