cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1509889 - /cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBEncoderDecoder.java
Date Fri, 02 Aug 2013 22:18:37 GMT
Author: dkulp
Date: Fri Aug  2 22:18:37 2013
New Revision: 1509889

URL: http://svn.apache.org/r1509889
Log:
Fix an eclipse warning

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=1509889&r1=1509888&r2=1509889&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
Fri Aug  2 22:18:37 2013
@@ -405,7 +405,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