]> source.dussan.org Git - archiva.git/commitdiff
produce text plain doesn't have any sense missed a file
authorOlivier Lamy <olamy@apache.org>
Sat, 21 Jan 2012 22:32:29 +0000 (22:32 +0000)
committerOlivier Lamy <olamy@apache.org>
Sat, 21 Jan 2012 22:32:29 +0000 (22:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234430 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/RepositoryGroupService.java

index 91378145cd792e558afbce9967dd41c81c722277..83aa647d94a547b09a9c8aa990e79ffa7d499877 100644 (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;