cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1099653 - in /cxf/branches/2.3.x-fixes: ./ tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/MIMEBindingValidator.java
Date Thu, 05 May 2011 01:38:49 GMT
Author: dkulp
Date: Thu May  5 01:38:48 2011
New Revision: 1099653

URL: http://svn.apache.org/viewvc?rev=1099653&view=rev
Log:
Merged revisions 1095750 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1095750 | dkulp | 2011-04-21 11:21:28 -0400 (Thu, 21 Apr 2011) | 1 line
  
  Add an NPE guard in the MIME validator
........

Modified:
    cxf/branches/2.3.x-fixes/   (props changed)
    cxf/branches/2.3.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/MIMEBindingValidator.java

Propchange: cxf/branches/2.3.x-fixes/
            ('svn:mergeinfo' removed)

Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.3.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/MIMEBindingValidator.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/MIMEBindingValidator.java?rev=1099653&r1=1099652&r2=1099653&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/MIMEBindingValidator.java
(original)
+++ cxf/branches/2.3.x-fixes/tools/validator/src/main/java/org/apache/cxf/tools/validator/internal/MIMEBindingValidator.java
Thu May  5 01:38:48 2011
@@ -47,6 +47,9 @@ public class MIMEBindingValidator
             Iterator itOperation = binding.getBindingOperations().iterator();
             while (itOperation.hasNext()) {
                 BindingOperation bindingOperation = (BindingOperation)itOperation.next();
+                if (bindingOperation.getBindingInput() == null) {
+                    continue;
+                }
                 Iterator itInputExt = bindingOperation.getBindingInput().getExtensibilityElements()
                     .iterator();
                 while (itInputExt.hasNext()) {



Mime
View raw message