From 121fd98c9c784af71410eb8579ecc55ab29f6330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pere=20Fern=C3=A1ndez?= Date: Tue, 7 Jan 2025 10:35:51 +0100 Subject: [PATCH] - Fix formatting --- .../serverless/workflow/openapi/OpenApiWorkItemHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow/src/main/java/org/kie/kogito/serverless/workflow/openapi/OpenApiWorkItemHandler.java b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow/src/main/java/org/kie/kogito/serverless/workflow/openapi/OpenApiWorkItemHandler.java index b6f430ccaef..4d206108142 100644 --- a/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow/src/main/java/org/kie/kogito/serverless/workflow/openapi/OpenApiWorkItemHandler.java +++ b/quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow/src/main/java/org/kie/kogito/serverless/workflow/openapi/OpenApiWorkItemHandler.java @@ -44,7 +44,8 @@ public abstract class OpenApiWorkItemHandler extends WorkflowWorkItemHandler protected Object internalExecute(KogitoWorkItem workItem, Map parameters) { Class clazz = getRestClass(); T ref = RestClientBuilderFactory.build(clazz, calculatedConfigKey(workItem)).register( - (ClientRequestFilter) requestContext -> ProcessMeta.fromKogitoWorkItem(workItem).asMap().forEach((k, v) -> requestContext.getHeaders().put(k, Collections.singletonList(v)))).build(clazz); + (ClientRequestFilter) requestContext -> ProcessMeta.fromKogitoWorkItem(workItem).asMap().forEach((k, v) -> requestContext.getHeaders().put(k, Collections.singletonList(v)))) + .build(clazz); try { return internalExecute(ref, parameters); } catch (WebApplicationException ex) {