cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1236027 - /cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
Date Thu, 26 Jan 2012 02:40:59 GMT
Author: dkulp
Date: Thu Jan 26 02:40:58 2012
New Revision: 1236027

URL: http://svn.apache.org/viewvc?rev=1236027&view=rev
Log:
Remove some completely duplicate code

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

Modified: cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java?rev=1236027&r1=1236026&r2=1236027&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java (original)
+++ cxf/trunk/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java Thu
Jan 26 02:40:58 2012
@@ -149,19 +149,6 @@ public class JAXBDataBinding extends Abs
         } catch (Exception e) {
             //IGNORE
         }
-        try {
-            resolver.resolve("", "classpath:/schemas/wsdl/wsrm.xsd", JAXBDataBinding.class);
-            if (resolver.isResolved()) {
-                InputStream ins = resolver.getInputStream();
-                Document doc = XMLUtils.parse(ins);
-                ins.close();
-                DOMResult dr = new DOMResult(doc, "classpath:/schemas/wsdl/wsrm.xsd");
-                BUILT_IN_SCHEMAS.put("http://schemas.xmlsoap.org/ws/2005/02/rm", dr);
-                resolver.unresolve();
-            }
-        } catch (Exception e) {
-            //IGNORE
-        }
     }
 
     Class<?>[] extraClass;



Mime
View raw message