axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/wsdlgen Types.java
Date Thu, 29 Nov 2001 12:56:34 GMT
dims        01/11/29 04:56:34

  Modified:    java/src/org/apache/axis/wsdlgen Types.java
  Log:
  Use XMLUtils.newDocument instead of hardcoding xerces internal class DocumentImpl.
  
  Revision  Changes    Path
  1.2       +1 -4      xml-axis/java/src/org/apache/axis/wsdlgen/Types.java
  
  Index: Types.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdlgen/Types.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Types.java	2001/11/28 12:08:09	1.1
  +++ Types.java	2001/11/29 12:56:34	1.2
  @@ -85,9 +85,6 @@
   
   import com.ibm.wsdl.util.xml.DOMUtils;
   
  -import org.apache.xerces.dom.DocumentImpl;
  -
  -
   /**
    *
    * <p>Description: </p> This class is used to recursively serializes a Java
Class into
  @@ -468,7 +465,7 @@
       Document docHolder;
   
       private void createDocumentFragment () {
  -        this.docHolder = new DocumentImpl();
  +        this.docHolder = XMLUtils.newDocument();
           docFragment = docHolder.createDocumentFragment();
       }
       /**
  
  
  

Mime
View raw message