[CXF-5862] Make sure we don't skip binding nodes in the binding file
Fixes a potential NPE if there are an odd number of binding nodes


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/9f4ee85a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9f4ee85a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9f4ee85a

Branch: refs/heads/2.7.x-fixes
Commit: 9f4ee85a108299eb57da7421a156f3af68efd611
Parents: 678ec5b
Author: Daniel Kulp <[email protected]>
Authored: Wed Jul 30 14:28:49 2014 -0400
Committer: Daniel Kulp <[email protected]>
Committed: Wed Jul 30 14:32:08 2014 -0400

----------------------------------------------------------------------
 .../wsdlto/frontend/jaxws/customization/CustomizationParser.java    | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/9f4ee85a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/CustomizationParser.java
----------------------------------------------------------------------
diff --git 
a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/CustomizationParser.java
 
b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/CustomizationParser.java
index 986ff6b..d9cb327 100644
--- 
a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/CustomizationParser.java
+++ 
b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customization/CustomizationParser.java
@@ -297,7 +297,6 @@ public final class CustomizationParser {
                     }
                 }
                 appinfoNode.appendChild(cloneNode);
-                childNode = childNode.getNextSibling();
             }
         }
         

Reply via email to