cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1301201 - /cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java
Date Thu, 15 Mar 2012 21:06:34 GMT
Author: dkulp
Date: Thu Mar 15 21:06:34 2012
New Revision: 1301201

URL: http://svn.apache.org/viewvc?rev=1301201&view=rev
Log:
Once again, fix NPE

Modified:
    cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java

Modified: cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java?rev=1301201&r1=1301200&r2=1301201&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java
(original)
+++ cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java
Thu Mar 15 21:06:34 2012
@@ -873,7 +873,7 @@ public final class JAXBEncoderDecoder {
                 String ns[] = (String[])f.get(c);
                 for (int x = 0; x < ns.length; x += 2) {
                     if (ns[x] == null) {
-                        nsMap.put(null, ns[x + 1]);
+                        nsMap.put("", ns[x + 1]);
                     } else {
                         nsMap.put(ns[x], ns[x + 1]);
                     }



Mime
View raw message