commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp PoolableConnectionFactory.java
Date Thu, 06 Mar 2003 15:26:07 GMT
rwaldhoff    2003/03/06 07:26:07

  Modified:    dbcp/src/java/org/apache/commons/dbcp
                        PoolableConnectionFactory.java
  Log:
  throws Exception clause wasn't necessary
  This closes bug 17635 <http://issues.apache.org/bugzilla/show_bug.cgi?id=17635>
  Thanks Thomas.
  
  Revision  Changes    Path
  1.5       +5 -5      jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/PoolableConnectionFactory.java
  
  Index: PoolableConnectionFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/PoolableConnectionFactory.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PoolableConnectionFactory.java	29 Jun 2002 16:46:02 -0000	1.4
  +++ PoolableConnectionFactory.java	6 Mar 2003 15:26:07 -0000	1.5
  @@ -86,7 +86,7 @@
        * @param defaultReadOnly the default "read only" setting for borrowed {@link Connection}s
        * @param defaultAutoCommit the default "auto commit" setting for returned {@link Connection}s
        */
  -    public PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory
stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit)
throws Exception {
  +    public PoolableConnectionFactory(ConnectionFactory connFactory, ObjectPool pool, KeyedObjectPoolFactory
stmtPoolFactory, String validationQuery, boolean defaultReadOnly, boolean defaultAutoCommit)
{
           _connFactory = connFactory;
           _pool = pool;
           _pool.setFactory(this);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message