You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rpc-dev@xml.apache.org by dl...@apache.org on 2002/08/09 11:16:27 UTC

cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpcClientLite.java

dlr         2002/08/09 02:16:27

  Modified:    src/java/org/apache/xmlrpc XmlRpcClientLite.java
  Log:
  Switched System.err println for general debugging statements to
  System.out.
  
  Revision  Changes    Path
  1.9       +6 -6      xml-rpc/src/java/org/apache/xmlrpc/XmlRpcClientLite.java
  
  Index: XmlRpcClientLite.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpcClientLite.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -u -r1.8 -r1.9
  --- XmlRpcClientLite.java	7 Aug 2002 17:07:12 -0000	1.8
  +++ XmlRpcClientLite.java	9 Aug 2002 09:16:27 -0000	1.9
  @@ -230,7 +230,7 @@
   
                   if (debug)
                   {
  -                    System.err.println ("result = " + result);
  +                    System.out.println ("result = " + result);
                   }
   
                   // check for errors from the XML parser
  @@ -285,7 +285,7 @@
               }
               if (debug)
               {
  -                System.err.println ("Spent " + (System.currentTimeMillis()
  +                System.out.println ("Spent " + (System.currentTimeMillis()
                           - now) + " millis in request");
               }
               return result;
  @@ -386,7 +386,7 @@
               String line = readLine();
               if (XmlRpc.debug)
               {
  -                System.err.println(line);
  +                System.out.println(line);
               }
               int contentLength = -1;
               try
  @@ -419,7 +419,7 @@
                   {
                       if (XmlRpc.debug)
                       {
  -                        System.err.println(line);
  +                        System.out.println(line);
                       }
                       line = line.toLowerCase();
                       if (line.startsWith("content-length:"))
  @@ -507,7 +507,7 @@
               // XmlRpc.setEncoding ("UTF-8");
               try
               {
  -                System.err.println(client.execute(method, v));
  +                System.out.println(client.execute(method, v));
               }
               catch (Exception ex)
               {