You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by du...@apache.org on 2002/05/17 20:11:57 UTC

cvs commit: xml-soap/java/src/org/apache/soap/util/xml XMLParserUtils.java

duftler     02/05/17 11:11:57

  Modified:    java/src/org/apache/soap/util/xml XMLParserUtils.java
  Log:
  Made getXMLDocBuilder() synchronized.
  Submitted by: Scott Nichol [mailto:snicholnews@scottnichol.com] &
                "Emilio Belmonte" <Em...@ENTRUST.COM>
  Reviewed by: Matthew J. Duftler (duftler@us.ibm.com)
  
  Revision  Changes    Path
  1.5       +1 -1      xml-soap/java/src/org/apache/soap/util/xml/XMLParserUtils.java
  
  Index: XMLParserUtils.java
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/util/xml/XMLParserUtils.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XMLParserUtils.java	17 May 2001 21:24:29 -0000	1.4
  +++ XMLParserUtils.java	17 May 2002 18:11:57 -0000	1.5
  @@ -130,7 +130,7 @@
      * @return DocumentBuilder an instance of a document builder, 
      * or null if a ParserConfigurationException was thrown.
      */
  -  public static DocumentBuilder getXMLDocBuilder()
  +  synchronized public static DocumentBuilder getXMLDocBuilder()
       throws IllegalArgumentException {
       // Step 2: create a DocumentBuilder that satisfies the constraints
       // specified by the DocumentBuilderFactory