You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by mp...@apache.org on 2002/03/14 02:26:19 UTC

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

mpoeschl    02/03/13 17:26:19

  Modified:    src/java/org/apache/xmlrpc WebServer.java
  Log:
  fix javadoc warnings
  
  Revision  Changes    Path
  1.10      +16 -16    xml-rpc/src/java/org/apache/xmlrpc/WebServer.java
  
  Index: WebServer.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/WebServer.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- WebServer.java	6 Mar 2002 15:52:56 -0000	1.9
  +++ WebServer.java	14 Mar 2002 01:26:19 -0000	1.10
  @@ -66,7 +66,7 @@
    * @author <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>
    * @author <a href="mailto:dlr@finemaltcoding.com">Daniel Rall</a>
    */
  -public class WebServer 
  +public class WebServer
       implements Runnable
   {
       protected XmlRpcServer xmlrpc;
  @@ -136,7 +136,7 @@
       /**
         * Creates a Web server at the specified port number.
         */
  -    public WebServer(int port) 
  +    public WebServer(int port)
           throws IOException
       {
           this(port, null);
  @@ -145,7 +145,7 @@
       /**
         * Creates a Web server at the specified port number and IP address.
         */
  -    public WebServer(int port, InetAddress add) 
  +    public WebServer(int port, InetAddress add)
           throws IOException
       {
           this.port = port;
  @@ -219,8 +219,8 @@
   
       /**
         * Switch client filtering on/off.
  -      * @see acceptClient(java.lang.String)
  -      * @see denyClient(java.lang.String)
  +      * @see #acceptClient(java.lang.String)
  +      * @see #denyClient(java.lang.String)
         */
       public void setParanoid(boolean p)
       {
  @@ -232,8 +232,8 @@
         * character, e.g. "192.168.*.*". You must call setParanoid(true) in order for this to have any
         * effect.
         *
  -      * @see denyClient(java.lang.String)
  -      * @see setParanoid(boolean)
  +      * @see #denyClient(java.lang.String)
  +      * @see #setParanoid(boolean)
         */
       public void acceptClient(String address)
           throws IllegalArgumentException
  @@ -245,8 +245,8 @@
           }
           catch (Exception x)
           {
  -            throw new IllegalArgumentException("\"" + 
  -                address + 
  +            throw new IllegalArgumentException("\"" +
  +                address +
                   "\" does not represent a valid IP address");
           }
       }
  @@ -256,8 +256,8 @@
         * character, e.g. "192.168.*.*". You must call setParanoid(true) in order for this to have any
         * effect.
         *
  -      * @see acceptClient(java.lang.String)
  -      * @see setParanoid(boolean)
  +      * @see #acceptClient(java.lang.String)
  +      * @see #setParanoid(boolean)
         */
       public void denyClient(String address) throws IllegalArgumentException
       {
  @@ -268,8 +268,8 @@
           }
           catch (Exception x)
           {
  -            throw new IllegalArgumentException("\"" + 
  -                address + 
  +            throw new IllegalArgumentException("\"" +
  +                address +
                   "\" does not represent a valid IP address");
           }
       }
  @@ -655,15 +655,15 @@
       class AddressMatcher
       {
           int pattern[];
  -        
  +
           public AddressMatcher (String address) throws Exception
           {
               pattern = new int[4];
               StringTokenizer st = new StringTokenizer(address, ".");
               if (st.countTokens() != 4)
               {
  -                throw new Exception ("\"" + 
  -                    address + 
  +                throw new Exception ("\"" +
  +                    address +
                       "\" does not represent a valid IP address");
               }
               for (int i = 0; i < 4; i++)