This is an automated email from the ASF dual-hosted git repository. ilgrosso pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push: new 8d1c408 [CXF-7525] Cleanup 8d1c408 is described below commit 8d1c408b6aba028be5f0f529a3eacb864b981e74 Author: Francesco Chicchiriccò <ilgro...@apache.org> AuthorDate: Tue Jan 30 14:45:48 2018 +0100 [CXF-7525] Cleanup --- .../apache/cxf/jaxrs/openapi/OpenApiCustomizedResource.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/rt/rs/description-openapi-v3/src/main/java/org/apache/cxf/jaxrs/openapi/OpenApiCustomizedResource.java b/rt/rs/description-openapi-v3/src/main/java/org/apache/cxf/jaxrs/openapi/OpenApiCustomizedResource.java index ceb7f70..97931ae 100644 --- a/rt/rs/description-openapi-v3/src/main/java/org/apache/cxf/jaxrs/openapi/OpenApiCustomizedResource.java +++ b/rt/rs/description-openapi-v3/src/main/java/org/apache/cxf/jaxrs/openapi/OpenApiCustomizedResource.java @@ -40,25 +40,16 @@ public class OpenApiCustomizedResource extends OpenApiResource { private final OpenApiCustomizer customizer; -// private boolean customized; - public OpenApiCustomizedResource(final OpenApiCustomizer customizer) { this.customizer = customizer; } -// private void setCustomized() { -// synchronized (customizer) { -// customized = true; -// } -// } - @GET @Produces({ MediaType.APPLICATION_JSON, "application/yaml" }) @Operation(hidden = true) public Response getOpenApi(@Context ServletConfig config, @Context HttpHeaders headers, @Context UriInfo uriInfo, @PathParam("type") String type) throws Exception { -// if (customizer != null && !customized) { if (customizer != null) { final OpenAPIConfiguration configuration = customizer.customize(getOpenApiConfiguration()); setOpenApiConfiguration(configuration); @@ -73,8 +64,6 @@ public class OpenApiCustomizedResource extends OpenApiResource { ((GenericOpenApiContext<?>) ctx).getOpenApiReader().setConfiguration(configuration); customizer.customize(ctx.read()); } - -// setCustomized(); } return super.getOpenApi(headers, uriInfo, type); -- To stop receiving notification emails like this one, please contact ilgro...@apache.org.