avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject cvs commit: avalon-excalibur/datasource/src/java/org/apache/avalon/excalibur/datasource JdbcConnectionPool.java
Date Tue, 08 Apr 2003 18:25:17 GMT
proyal      2003/04/08 11:25:17

  Modified:    datasource/src/java/org/apache/avalon/excalibur/datasource
                        JdbcConnectionPool.java
  Log:
  Remove redundant casts
  
  Revision  Changes    Path
  1.25      +3 -3      avalon-excalibur/datasource/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionPool.java
  
  Index: JdbcConnectionPool.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/datasource/src/java/org/apache/avalon/excalibur/datasource/JdbcConnectionPool.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- JdbcConnectionPool.java	31 Mar 2003 18:32:55 -0000	1.24
  +++ JdbcConnectionPool.java	8 Apr 2003 18:25:17 -0000	1.25
  @@ -199,7 +199,7 @@
                       m_active.remove( obj );
                   }
   
  -                this.removePoolable( (Recyclable)obj );
  +                this.removePoolable( obj );
   
                   obj = (PoolSettable)this.newPoolable();
   
  @@ -224,7 +224,7 @@
               ((Connection)obj).setAutoCommit( m_autoCommit );
           }
   
  -        return (Poolable)obj;
  +        return obj;
       }
   
       public void put( Poolable obj )
  
  
  

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


Mime
View raw message