This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new c6d790f  Regen
c6d790f is described below

commit c6d790fb00e6cbffac1d40b3005ed431e2750e0a
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sun Mar 6 21:26:55 2022 +0100

    Regen
---
 .../main/java/org/apache/camel/service/lra/LRASagaRoutes.java  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/components/camel-lra/src/main/java/org/apache/camel/service/lra/LRASagaRoutes.java
 
b/components/camel-lra/src/main/java/org/apache/camel/service/lra/LRASagaRoutes.java
index fc8688c..6d3b269 100644
--- 
a/components/camel-lra/src/main/java/org/apache/camel/service/lra/LRASagaRoutes.java
+++ 
b/components/camel-lra/src/main/java/org/apache/camel/service/lra/LRASagaRoutes.java
@@ -62,8 +62,7 @@ public class LRASagaRoutes extends RouteBuilder {
     }
 
     /**
-     * Check if the request is pointing to an allowed URI to prevent 
unauthorized
-     * remote uri invocation
+     * Check if the request is pointing to an allowed URI to prevent 
unauthorized remote uri invocation
      */
     private void verifyRequest(Exchange exchange) {
         if (exchange.getIn().getHeader(Exchange.SAGA_LONG_RUNNING_ACTION) == 
null) {
@@ -83,14 +82,15 @@ public class LRASagaRoutes extends RouteBuilder {
         // CAMEL-17751: Extract URIs from the CamelHttpQuery header
         if (usedURIs.isEmpty()) {
             try {
-                Map<String, Object> queryParams = 
URISupport.parseQuery(exchange.getIn().getHeader(Exchange.HTTP_QUERY, 
String.class));
+                Map<String, Object> queryParams
+                        = 
URISupport.parseQuery(exchange.getIn().getHeader(Exchange.HTTP_QUERY, 
String.class));
                 if (!queryParams.isEmpty()) {
                     if (queryParams.get(URL_COMPENSATION_KEY) != null) {
                         compensationURI = 
queryParams.get(URL_COMPENSATION_KEY).toString();
                         usedURIs.add(compensationURI);
                         exchange.getIn().setHeader(URL_COMPENSATION_KEY, 
compensationURI);
                     }
-                    
+
                     if (queryParams.get(URL_COMPLETION_KEY) != null) {
                         completionURI = 
queryParams.get(URL_COMPLETION_KEY).toString();
                         usedURIs.add(completionURI);
@@ -98,7 +98,7 @@ public class LRASagaRoutes extends RouteBuilder {
                     }
                 }
             } catch (URISyntaxException ex) {
-                throw new RuntimeCamelException("URISyntaxException during " + 
Exchange.HTTP_QUERY + " header parsing"); 
+                throw new RuntimeCamelException("URISyntaxException during " + 
Exchange.HTTP_QUERY + " header parsing");
             }
         }
 

Reply via email to