You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2012/08/09 20:48:04 UTC
svn commit: r1371374 -
/axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/ctype/ContentTypeRuleFactory.java
Author: veithen
Date: Thu Aug 9 18:48:04 2012
New Revision: 1371374
URL: http://svn.apache.org/viewvc?rev=1371374&view=rev
Log:
Resolved a TODO item.
Modified:
axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/ctype/ContentTypeRuleFactory.java
Modified: axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/ctype/ContentTypeRuleFactory.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/ctype/ContentTypeRuleFactory.java?rev=1371374&r1=1371373&r2=1371374&view=diff
==============================================================================
--- axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/ctype/ContentTypeRuleFactory.java (original)
+++ axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/ctype/ContentTypeRuleFactory.java Thu Aug 9 18:48:04 2012
@@ -51,14 +51,6 @@ public class ContentTypeRuleFactory {
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()));