cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1509929 - /cxf/branches/2.7.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java
Date Sat, 03 Aug 2013 01:30:46 GMT
Author: dkulp
Date: Sat Aug  3 01:30:45 2013
New Revision: 1509929

URL: http://svn.apache.org/r1509929
Log:
Merged revisions 1509889 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1509889 | dkulp | 2013-08-02 18:18:37 -0400 (Fri, 02 Aug 2013) | 2 lines

  Fix an eclipse warning

........

Modified:
    cxf/branches/2.7.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java

Modified: cxf/branches/2.7.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java?rev=1509929&r1=1509928&r2=1509929&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java
(original)
+++ cxf/branches/2.7.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java
Sat Aug  3 01:30:45 2013
@@ -404,7 +404,7 @@ public final class JAXBEncoderDecoder {
                         writeArrayObject(marshaller, writer, mname, m.invoke(elValue));
                     } else {
                         Object o = Utils.getMethodValue(m, elValue); 
-                        writeObject(marshaller, writer, new JAXBElement(mname, String.class,
o));
+                        writeObject(marshaller, writer, newJAXBElement(mname, String.class,
o));
                     }
                 }
             }



Mime
View raw message