apupier commented on code in PR #27370:
URL: https://github.com/apache/camel/pull/27370#discussion_r4183556617
##########
core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelPostProcessorHelper.java:
##########
@@ -348,7 +348,7 @@ private static Map<String, Object> convertMapUsingSeparator(
}
}
Map<String, Object> values = new LinkedHashMap<>();
- String[] arr = value.split(separator);
+ String[] arr = value.split(java.util.regex.Pattern.quote(separator));
Review Comment:
use import instead fof full classname
##########
core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/CamelPostProcessorHelper.java:
##########
@@ -725,4 +725,4 @@ public static String destroyMethodCandidate(Object bean) {
}
return null;
}
-}
+}
Review Comment:
keep end of line
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]