[
https://issues.apache.org/jira/browse/OFBIZ-11147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16914837#comment-16914837 ]
Aditya Sharma commented on OFBIZ-11147:
---------------------------------------
Thanks Girish for looking into it. My bad. I tested for 16.11 and 17.12. It works for the trunk.
I have updated the affected version. Thanks Pierre for pointing that out.
I noticed a warning:
{code:java}
ofbiz-camel/src/main/java/org/apache/ofbiz/camel/services/CamelServices.java:47: warning: [unchecked] unchecked cast
Map<String, Object> headers = (Map<String, Object>) context.get("headers");
^
required: Map<String,Object>
found: Object
1 warning
{code}
I think we can suppress it with [SuppressWarnings|
https://docs.oracle.com/javase/6/docs/api/java/lang/SuppressWarnings.html] annotation.
{code:java}
@SuppressWarnings("unchecked")
Map<String, Object> headers = (Map<String, Object>) context.get("headers");
{code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)