You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/11/23 12:31:09 UTC

[camel] 06/06: CAMEL-15858: fix - remove whitespace characters

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

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

commit 678ae2a50baa270c38f623a066f10f3078a54e48
Author: ex324 <ch...@helsana.ch>
AuthorDate: Mon Nov 23 11:59:16 2020 +0100

    CAMEL-15858: fix - remove whitespace characters
---
 .../apache/camel/maven/generator/openapi/AbstractGenerateMojo.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java b/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
index 0123beb..4781bb8 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
+++ b/tooling/maven/camel-restdsl-openapi-plugin/src/main/java/org/apache/camel/maven/generator/openapi/AbstractGenerateMojo.java
@@ -379,9 +379,9 @@ abstract class AbstractGenerateMojo extends AbstractMojo {
             return null;
         }
     }
-    
+
     private Map<String, String> parse(String urlEncodedAuthStr) {
-    	Map<String, String> auths = new HashMap<String, String>();
+        Map<String, String> auths = new HashMap<String, String>();
         if (isNotEmpty(urlEncodedAuthStr)) {
             String[] parts = urlEncodedAuthStr.split(",");
             for (String part : parts) {
@@ -390,7 +390,7 @@ abstract class AbstractGenerateMojo extends AbstractMojo {
                     try {
                         auths.put(URLDecoder.decode(kvPair[0], "UTF-8"), URLDecoder.decode(kvPair[1], "UTF-8"));
                     } catch (UnsupportedEncodingException e) {
-                    	getLog().warn(e.getMessage());
+                        getLog().warn(e.getMessage());
                     }
                 }
             }