cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sea...@apache.org
Subject svn commit: r731631 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/spring/HttpConduitBeanDefinitionParser.java
Date Mon, 05 Jan 2009 17:40:28 GMT
Author: seanoc
Date: Mon Jan  5 09:40:27 2009
New Revision: 731631

URL: http://svn.apache.org/viewvc?rev=731631&view=rev
Log:
Corrected nodelist refactor code.

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/spring/HttpConduitBeanDefinitionParser.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/spring/HttpConduitBeanDefinitionParser.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/spring/HttpConduitBeanDefinitionParser.java?rev=731631&r1=731630&r2=731631&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/spring/HttpConduitBeanDefinitionParser.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/spring/HttpConduitBeanDefinitionParser.java
Mon Jan  5 09:40:27 2009
@@ -88,29 +88,10 @@
                 mapBeanOrClassElement((Element)n, bean, HttpBasicAuthSupplier.class);
             } else if ("tlsClientParameters".equals(elementName)) {
                 mapTLSClientParameters((Element)n, bean);
-            } 
+            }          
+            n = n.getNextSibling();
         }
         
-        /*
-        NodeList nl = parent.getChildNodes();
-        for (int i = 0; i < nl.getLength(); i++) {
-            Node n = nl.item(i);
-            if (Node.ELEMENT_NODE != n.getNodeType() 
-                || !HTTP_NS.equals(n.getNamespaceURI())) {
-                continue;
-            }
-            String elementName = n.getLocalName();
-            // Schema should require that no more than one each of these exist.
-            if ("trustDecider".equals(elementName)) {                
-                mapBeanOrClassElement((Element)n, bean, MessageTrustDecider.class);
-            } else if ("basicAuthSupplier".equals(elementName)) {
-                mapBeanOrClassElement((Element)n, bean, HttpBasicAuthSupplier.class);
-            } else if ("tlsClientParameters".equals(elementName)) {
-                mapTLSClientParameters((Element)n, bean);
-            }
-        }
-        */
-
     }
     
     /**



Mime
View raw message