Skip to content
Permalink
Browse files
Resolved a TODO item.
  • Loading branch information
veithen committed Aug 9, 2012
1 parent c9ead64 commit 4278ebeda2805a92a2d14bf2f157f25ce2e58269
Showing 1 changed file with 0 additions and 8 deletions.
@@ -51,14 +51,6 @@ public static ContentTypeRuleSet parse(Parameter param) throws AxisFault {
Object value = param.getValue();
if (value instanceof OMElement) {
OMElement element = (OMElement)value;

// DescriptionBuilder#processParameters actually sets the parameter element
// itself as the value. We need to support this case.
// TODO: seems like a bug in Axis2 and is inconsistent with Synapse's way of parsing parameter in proxy definitions
if (element == param.getParameterElement()) {
element = element.getFirstElement();
}

if (element.getLocalName().equals("rules")) {
for (Iterator it = element.getChildElements(); it.hasNext(); ) {
ruleSet.addRule(parse((OMElement)it.next()));

0 comments on commit 4278ebe

Please sign in to comment.