From 7d7724155e64204c32f4726b65f3997e12e88834 Mon Sep 17 00:00:00 2001 From: starfishfive <161029169+starfishfive@users.noreply.github.com> Date: Fri, 17 May 2024 17:09:08 +0200 Subject: [PATCH] Fix missing close/start tag Signed-off-by: starfishfive <161029169+starfishfive@users.noreply.github.com> --- .../org/dependencytrack/resources/v1/ComponentResource.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/dependencytrack/resources/v1/ComponentResource.java b/src/main/java/org/dependencytrack/resources/v1/ComponentResource.java index 9199051440..f6c617500e 100644 --- a/src/main/java/org/dependencytrack/resources/v1/ComponentResource.java +++ b/src/main/java/org/dependencytrack/resources/v1/ComponentResource.java @@ -75,7 +75,6 @@ public class ComponentResource extends AlpineResource { @GET - @Path("/all") @Produces(MediaType.APPLICATION_JSON) @ApiOperation( value = "Returns a list of all components", @@ -89,7 +88,7 @@ public class ComponentResource extends AlpineResource { @ApiResponse(code = 401, message = "Unauthorized"), }) @PermissionRequired(Permissions.Constants.VIEW_PORTFOLIO) - public Response getComponents( + public Response getComponents() { try (QueryManager qm = new QueryManager(getAlpineRequest())) { final PaginatedResult result = qm.getComponents(); return Response.ok(result.getObjects()).header(TOTAL_COUNT_HEADER, result.getTotal()).build()