Format nit and better param name.
@@ -27,8 +27,9 @@ import javax.sql.PooledConnection;
* @since 2.0
*/
interface PooledConnectionManager {
+
/**
- * Close the PooledConnection and remove it from the connection pool
+ * Closes the PooledConnection and remove it from the connection pool
* to which it belongs, adjusting pool counters.
*
* @param pc PooledConnection to be invalidated
@@ -47,9 +48,9 @@ interface PooledConnectionManager {
/**
* Closes the connection pool associated with the given user.
*
- * @param username user name
+ * @param userName user name
* @throws SQLException if an error occurs closing idle connections in the pool
*/
- void closePool(String username) throws SQLException;
+ void closePool(String userName) throws SQLException;
}
