Skip to content

Commit

Permalink
chore: remove obsolete warning about Enunciate
Browse files Browse the repository at this point in the history
ENUNCIATE-429 moved to stoicflame/enunciate#72 which was fixed in Enunciate 2
  • Loading branch information
seanf committed Mar 17, 2017
1 parent 37d9c49 commit 7724724
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public interface ProjectIterationLocalesResource extends RestResource {
* NOT FOUND 404 if the project-version does not exist
*/
@GET
// workaround for enunciate, see note in org.zanata.rest.service.ProjectResource
@TypeHint(LocaleDetails[].class)
@Produces({ MediaTypes.APPLICATION_ZANATA_PROJECT_LOCALES_XML,
MediaTypes.APPLICATION_ZANATA_PROJECT_LOCALES_JSON,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public interface ProjectLocalesResource extends RestResource {
* NOT FOUND 404 if the project does not exist
*/
@GET
// workaround for enunciate, see note in ProjectsResource
@TypeHint(LocaleDetails[].class)
@Produces({ MediaTypes.APPLICATION_ZANATA_PROJECT_LOCALES_XML,
MediaTypes.APPLICATION_ZANATA_PROJECT_LOCALES_JSON,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ public interface ProjectsResource extends RestResource {
@Produces({ MediaTypes.APPLICATION_ZANATA_PROJECTS_XML,
MediaTypes.APPLICATION_ZANATA_PROJECTS_JSON,
MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
// TODO Enunciate doesn't handle arrays/Collections
// Ugly workaround:
// http://docs.codehaus.org/display/ENUNCIATE/Lists+and+JAX-RS
// Eventual solution: https://jira.codehaus.org/browse/ENUNCIATE-429
@TypeHint(Project[].class)
public
Response get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,8 @@ public interface SourceDocResource extends RestResource {
* the server while performing this operation.
*/
@GET
// TODO Enunciate doesn't handle arrays/Collections
// Ugly workaround:
// http://docs.codehaus.org/display/ENUNCIATE/Lists+and+JAX-RS
// Eventual solution: https://jira.codehaus.org/browse/ENUNCIATE-429
@TypeHint(ResourceMeta[].class)
public
Response get(@QueryParam("ext") Set<String> extensions);
@TypeHint(ResourceMeta[].class)
Response get(@QueryParam("ext") Set<String> extensions);

/**
* Creates a new Document.
Expand Down

0 comments on commit 7724724

Please sign in to comment.