cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r759966 - /cxf/trunk/common/common/src/main/java/org/apache/cxf/jaxb/JAXBUtils.java
Date Mon, 30 Mar 2009 13:39:08 GMT
Author: dkulp
Date: Mon Mar 30 13:39:07 2009
New Revision: 759966

URL: http://svn.apache.org/viewvc?rev=759966&view=rev
Log:
Remove class reference to jaxws api jar so jaxws-api jar should really be removable if not
using jaxws

Modified:
    cxf/trunk/common/common/src/main/java/org/apache/cxf/jaxb/JAXBUtils.java

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/jaxb/JAXBUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/jaxb/JAXBUtils.java?rev=759966&r1=759965&r2=759966&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/jaxb/JAXBUtils.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/jaxb/JAXBUtils.java Mon Mar 30 13:39:07
2009
@@ -50,7 +50,6 @@
 import javax.xml.stream.XMLStreamReader;
 import javax.xml.stream.XMLStreamWriter;
 import javax.xml.transform.stream.StreamResult;
-import javax.xml.ws.Holder;
 
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
@@ -472,7 +471,8 @@
             return cls;
         }
 
-        if (cls == Object.class || cls == String.class || cls == Holder.class) {
+        if (cls == Object.class || cls == String.class
+            || "javax.xml.ws.Holder".equals(cls.getName())) {
             cls = null;
         } else if (cls.isPrimitive() || cls.isAnnotation()) {
             cls = null;



Mime
View raw message