ws-xmlrpc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpc.java
Date Fri, 25 Jan 2002 22:21:54 GMT
dlr         02/01/25 14:21:54

  Modified:    src/java/org/apache/xmlrpc XmlRpc.java
  Log:
  Added additional debugging statement.
  
  Revision  Changes    Path
  1.9       +6 -4      xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java
  
  Index: XmlRpc.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -u -r1.8 -r1.9
  --- XmlRpc.java	17 Jan 2002 19:18:23 -0000	1.8
  +++ XmlRpc.java	25 Jan 2002 22:21:54 -0000	1.9
  @@ -226,13 +226,12 @@
   
   
       /**
  -      * Parse the input stream. For each root level object, method <code>objectParsed</code>
  -      * is called.
  +      * Parse the input stream. For each root level object, method
  +      * <code>objectParsed</code> is called.
         */
       synchronized void parse (InputStream is)
           throws Exception
       {
  -
           // reset values (XmlRpc objects are reusable)
           errorLevel = NONE;
           errorMsg = null;
  @@ -269,6 +268,8 @@
           parser.setDocumentHandler (this);
           parser.setErrorHandler (this);
   
  +        if (debug)
  +            System.err.println("Beginning parsing XML input stream");
           parser.parse (new InputSource (is));
           if (debug)
               System.err.println ("Spent "+
  @@ -276,7 +277,8 @@
       }
   
       /**
  -      * Writes the XML representation of a supported Java object to the XML writer.
  +      * Writes the XML representation of a supported Java object to
  +      * the XML writer.
         */
       void writeObject (Object what, XmlWriter writer)
       {
  
  
  

Mime
View raw message