cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1394251 - /cxf/branches/2.4.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBContextInitializer.java
Date Thu, 04 Oct 2012 20:30:43 GMT
Author: dkulp
Date: Thu Oct  4 20:30:42 2012
New Revision: 1394251

URL: http://svn.apache.org/viewvc?rev=1394251&view=rev
Log:
Fix compile failure

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

Modified: cxf/branches/2.4.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBContextInitializer.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBContextInitializer.java?rev=1394251&r1=1394250&r2=1394251&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBContextInitializer.java
(original)
+++ cxf/branches/2.4.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBContextInitializer.java
Thu Oct  4 20:30:42 2012
@@ -215,9 +215,6 @@ class JAXBContextInitializer extends Ser
             XmlJavaTypeAdapters adapt = clazz.getPackage().getAnnotation(XmlJavaTypeAdapters.class);
             if (adapt != null) {
                 for (XmlJavaTypeAdapter a: adapt.value()) {
-                    globalAdapters.add(a.type());
-                }
-                for (XmlJavaTypeAdapter a: adapt.value()) {
                     Type t = getTypeFromXmlAdapter(a);
                     if (t != null) {
                         addType(t);



Mime
View raw message