[ https://issues.apache.org/jira/browse/AXIS2-3744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kishanthan Thangarajah updated AXIS2-3744: ------------------------------------------ Attachment: AXIS2-3744.patch This patch address the improvement. What i did was first sorted and then checked to see weather any duplicated item proceeds the current item in the for-each loop. I'm also adding a sample wsdl to check this improvement. Thanks, Kishanthan. > XXXMessageRecieverInOut.fromOM() does contain duplicated code for XmlBeans > Binding > ----------------------------------------------------------------------------------- > > Key: AXIS2-3744 > URL: https://issues.apache.org/jira/browse/AXIS2-3744 > Project: Axis2 > Issue Type: Improvement > Components: codegen > Affects Versions: 1.4 > Reporter: Stefan Lischke > Assignee: Amila Chinthaka Suriarachchi > Priority: Trivial > Labels: XMLBeans, > Attachments: AXIS2-3744.patch, sample.wsdl > > > The fromOM Method of the generated MessageReciever does contain duplicated > code. > For every operation there is an if-statement equals(type) for the in and out > message and for the ExceptionDocument. If the same Exception is shared > between different Operations, the if-code is duplicated in this method. > Should be no Problem :-) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org