From 9fbd56564ae7ad5040507987bbe9e47cc69e8ff3 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sat, 21 Jan 2012 22:32:29 +0000 Subject: [PATCH] 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 --- .../archiva/rest/api/services/RepositoryGroupService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoryGroupService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoryGroupService.java index 91378145c..83aa647d9 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoryGroupService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoryGroupService.java @@ -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 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; -- 2.39.5