avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/datasource/src/java/org/apache/avalon/excalibur/datasource AbstractJdbcConnection.java
Date Tue, 05 Nov 2002 23:51:25 GMT
donaldp     2002/11/05 15:51:25

  Modified:    datasource/src/java/org/apache/avalon/excalibur/datasource
                        AbstractJdbcConnection.java
  Log:
  Fixed compile errors.
  
  Submitted By: Jenny Brown <jenny@bigbrother.net>, Jeremias Maerki <dev.jeremias@greenmail.ch>
  
  Revision  Changes    Path
  1.18      +4 -11     jakarta-avalon-excalibur/datasource/src/java/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java
  
  Index: AbstractJdbcConnection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/datasource/src/java/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- AbstractJdbcConnection.java	5 Nov 2002 04:34:02 -0000	1.17
  +++ AbstractJdbcConnection.java	5 Nov 2002 23:51:25 -0000	1.18
  @@ -7,12 +7,13 @@
    */
   package org.apache.avalon.excalibur.datasource;
   
  -import java.sql.CallableStatement;
   import java.sql.Connection;
   import java.sql.PreparedStatement;
   import java.sql.ResultSet;
   import java.sql.SQLException;
   import java.sql.Statement;
  +import java.util.Iterator;
  +import java.util.Map;
   import org.apache.avalon.excalibur.pool.Pool;
   import org.apache.avalon.excalibur.pool.Recyclable;
   import org.apache.avalon.framework.activity.Disposable;
  @@ -45,14 +46,6 @@
       protected Map m_statements;
   
       /**
  -     * Private default constructor so that it cannot be instantiated any
  -     * other way than we desire.
  -     */
  -    private AbstractJdbcConnection()
  -    {
  -    }
  -
  -    /**
        * @deprecated Use the version with keepAlive specified
        */
       public AbstractJdbcConnection( final Connection connection, final boolean oradb )
  @@ -123,7 +116,7 @@
           {
               m_connection.clearWarnings();
   
  -            Iterator it = m_statements.getKeySet().iterator();
  +            Iterator it = m_statements.keySet().iterator();
               while (it.hasNext())
               {
                   Object key = it.next();
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message