axis-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1371374 - /axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/ctype/ContentTypeRuleFactory.java
Date Thu, 09 Aug 2012 18:48:04 GMT
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()));



Mime
View raw message