commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1547648 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableCallableStatement.java
Date Tue, 03 Dec 2013 23:45:45 GMT
Author: markt
Date: Tue Dec  3 23:45:45 2013
New Revision: 1547648

URL: http://svn.apache.org/r1547648
Log:
Generics fixes

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableCallableStatement.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableCallableStatement.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableCallableStatement.java?rev=1547648&r1=1547647&r2=1547648&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableCallableStatement.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/PoolableCallableStatement.java
Tue Dec  3 23:45:45 2013
@@ -40,12 +40,12 @@ public class PoolableCallableStatement e
     /**
      * The {@link KeyedObjectPool} from which this CallableStatement was obtained.
      */
-    private final KeyedObjectPool _pool;
+    private final KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> _pool;
 
     /**
      * Key for this statement in the containing {@link KeyedObjectPool}.
      */
-    private final Object _key;
+    private final PStmtKey _key;
 
     /**
      * Constructor.
@@ -55,8 +55,9 @@ public class PoolableCallableStatement e
      * @param pool the {@link KeyedObjectPool} from which this CallableStatement was obtained
      * @param conn the {@link DelegatingConnection} that created this CallableStatement
      */
-    public PoolableCallableStatement(CallableStatement stmt, Object key,
-            KeyedObjectPool pool, DelegatingConnection<Connection> conn) {
+    public PoolableCallableStatement(CallableStatement stmt, PStmtKey key,
+            KeyedObjectPool<PStmtKey,DelegatingPreparedStatement> pool,
+            DelegatingConnection<Connection> conn) {
         super(conn, stmt);
         _pool = pool;
         _key = key;



Mime
View raw message