src/share/classes/com/sun/jndi/ldap/pool/Connections.java

Print this page
rev 10430 : imported patch typos

@@ -252,11 +252,11 @@
     }
 
     /**
      * Removes PooledConnection from list of connections.
      * The closing of the connection is separate from this method.
-     * This method is called usually when the caller encouters an error
+     * This method is called usually when the caller encounters an error
      * when using the connection and wants it removed from the pool.
      *
      * @return true if conn removed; false if it was not in pool
      *
      * public because implemented as part of PoolCallback.