xml-rpc-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 XmlRpcClient.java
Date Fri, 09 Aug 2002 10:27:44 GMT
dlr         2002/08/09 03:27:44

  Modified:    src/java/org/apache/xmlrpc XmlRpcClient.java
  Log:
  Wrapped constructors around XmlRpcClient(URL) and added debug
  statement.
  
  Revision  Changes    Path
  1.12      +7 -3      xml-rpc/src/java/org/apache/xmlrpc/XmlRpcClient.java
  
  Index: XmlRpcClient.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpcClient.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -u -r1.11 -r1.12
  --- XmlRpcClient.java	9 Aug 2002 09:15:57 -0000	1.11
  +++ XmlRpcClient.java	9 Aug 2002 10:27:44 -0000	1.12
  @@ -96,6 +96,10 @@
       public XmlRpcClient(URL url)
       {
           this.url = url;
  +        if (XmlRpc.debug)
  +        {
  +            System.out.println("Created client to url space " + url);
  +        }
       }
   
       /**
  @@ -103,7 +107,7 @@
        */
       public XmlRpcClient(String url) throws MalformedURLException
       {
  -        this.url = new URL(url);
  +        this(new URL(url));
       }
   
       /**
  @@ -111,7 +115,7 @@
        */
       public XmlRpcClient(String hostname, int port) throws MalformedURLException
       {
  -        this.url = new URL("http://" + hostname + ':' + port + "/RPC2");
  +        this(new URL("http://" + hostname + ':' + port + "/RPC2"));
       }
   
       /**
  
  
  

Mime
View raw message