olegk       2004/12/21 03:27:55

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        MultiThreadedHttpConnectionManager.java
  Log:
  Fixed a whole bunch of typos
  
  Contributed by Ernst de Haan <ernst.dehaan at nl.wanadoo.com>
  
  Revision  Changes    Path
  1.47      +22 -10    
jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java
  
  Index: MultiThreadedHttpConnectionManager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- MultiThreadedHttpConnectionManager.java   19 Oct 2004 18:09:45 -0000      
1.46
  +++ MultiThreadedHttpConnectionManager.java   21 Dec 2004 11:27:55 -0000      
1.47
  @@ -64,6 +64,7 @@
   public class MultiThreadedHttpConnectionManager implements 
HttpConnectionManager {
   
       // -------------------------------------------------------- Class 
Variables
  +
       /** Log object for this class. */
       private static final Log LOG = 
LogFactory.getLog(MultiThreadedHttpConnectionManager.class);
   
  @@ -95,10 +96,13 @@
        */    
       private static WeakHashMap ALL_CONNECTION_MANAGERS = new WeakHashMap();
       
  +
  +    // ---------------------------------------------------------- Class 
Methods
  +
       /**
        * Shuts down and cleans up resources used by all instances of 
        * MultiThreadedHttpConnectionManager. All static resources are 
released, all threads are 
  -     * stopped, and [EMAIL PROTECTED] #shutdown()} is called on all live 
instaces of 
  +     * stopped, and [EMAIL PROTECTED] #shutdown()} is called on all live 
instances of 
        * MultiThreadedHttpConnectionManager.
        *
        * @see #shutdown()
  @@ -127,7 +131,7 @@
       }    
       
       /**
  -     * Stores the reference to the given connection along with the 
hostConfig and connection pool.  
  +     * Stores the reference to the given connection along with the host 
config and connection pool.  
        * These values will be used to reclaim resources if the connection is 
lost to the garbage 
        * collector.  This method should be called before a connection is 
released from the connection 
        * manager.
  @@ -221,7 +225,9 @@
           }
       }    
       
  +
       // ----------------------------------------------------- Instance 
Variables
  +
       /**
        * Collection of parameters associated with this connection manager.
        */
  @@ -232,6 +238,9 @@
   
       private boolean shutdown = false;
       
  +
  +    // ----------------------------------------------------------- 
Constructors
  +
       /**
        * No-args constructor
        */
  @@ -242,6 +251,9 @@
           }
       }
   
  +
  +    // ------------------------------------------------------- Instance 
Methods
  +
       /**
        * Shuts down the connection manager and releases all resources.  All 
connections associated 
        * with this class will be closed and released. 
  @@ -262,7 +274,7 @@
       /**
        * Gets the staleCheckingEnabled value to be set on HttpConnections that 
are created.
        * 
  -     * @return <code>true</code> if stale checking will be enabled on 
HttpConections
  +     * @return <code>true</code> if stale checking will be enabled on 
HttpConnections
        * 
        * @see HttpConnection#isStaleCheckingEnabled()
        * 
  @@ -277,7 +289,7 @@
        * Sets the staleCheckingEnabled value to be set on HttpConnections that 
are created.
        * 
        * @param connectionStaleCheckingEnabled <code>true</code> if stale 
checking will be enabled 
  -     * on HttpConections
  +     * on HttpConnections
        * 
        * @see HttpConnection#setStaleCheckingEnabled(boolean)
        * 
  @@ -716,7 +728,7 @@
           }
           
           /**
  -         * Creates a new connection and returns is for use of the calling 
method.
  +         * Creates a new connection and returns it for use of the calling 
method.
            *
            * @param hostConfiguration the configuration for the connection
            * @return a new connection or <code>null</code> if none are 
available
  @@ -903,8 +915,8 @@
   
           /**
            * Notifies a waiting thread that a connection for the given 
configuration is 
  -         * available.  This will wake a thread witing in tis hostPool or if 
there is not
  -         * one a thread in the ConnectionPool will be notified.
  +         * available.  This will wake a thread waiting in this host pool or 
if there is not
  +         * one a thread in the connection pool will be notified.
            * 
            * @param hostPool the host pool to use for notifying
            */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to